e107 Developer Guide
  • Welcome
  • Getting Started
    • Hello world example
    • Folder structure
    • Database structure
    • Debugging & problem solving
  • Classes and methods
    • Introduction
    • Alerts
    • Cache
    • CSS
    • Database
    • Date
    • Events
    • Forms
    • Javascript
    • Language
    • Logging
    • Meta
    • Parser
    • Plugins
    • Preferences
    • Redirection
    • Render
    • Route
    • URLs
    • User Data
  • Plugin development
    • Introduction
    • Plugin Builder
    • Admin-UI (User Interface)
    • Installation & configuration
    • Plugin shortcodes
    • Internationalisation (LAN)
    • Extending core functionality (addons)
    • Upgrading legacy plugins
  • Theme development
    • Introduction
    • Installation & configuration
    • Layout & templates
    • Theme Shortcodes
    • Styling (CSS)
    • Upgrading legacy themes
  • Templates, shortcodes & constants
    • Introduction
    • Templates
    • Shortcodes
    • Core Shortcodes
    • Constants
  • How-to's / FAQs
    • How to...
Powered by GitBook
On this page
  • Introduction
  • How to use the Plugin Builder
  • Basic info
  • Database tables
  • Preferences
  • Addons

Was this helpful?

Export as PDF
  1. Plugin development

Plugin Builder

PreviousIntroductionNextAdmin-UI (User Interface)

Last updated 2 years ago

Was this helpful?

Please note: This page is under construction and has not been finished yet.

Introduction

By far, the quickest and easiest way to develop a plugin for e107 is to use the , because:

  • It allows you to select the database file () file from the plugin folder, or directly from the database table list, and it will generate most of the new code for the of your plugin.

  • It will generate the new meta-file, which is used during installation of your plugin and also when sharing plugins via this site.

The Plugin Builder can be found in Admin Area > Manage > Plugin Manager > Plugin Builder.

How to use the Plugin Builder

  1. Create an empty plugin folder in e107_plugins (eg. "myplugin")

  2. Create a new text file with the *_sql.php extension. (eg. "myplugin_sql.php")

  3. Using a tool such as phpMyAdmin, create your database table structure, and then export it in SQL format.

  4. Copy and paste the database structure ("CREATE TABLE") to your your *_sql.php file. (see other plugins for examples)

  5. Go to Admin Area > Manage > > Plugin Builder and choose "myplugin" from the dropdown menu and then follow the prompts.

  6. Thoroughly check the details of each Table Tab (and Preferences Tab if you need them) before proceeding with the creation process.

Basic info

This section has not been finished yet!

Database tables

This section has not been finished yet!

field

caption

type

data

width

batch

filter

inline

validate

display

R/O

Helptip

ReadParms

WriteParms

Preferences

This section has not been finished yet!

Addons

This section has not been finished yet!

Plugin Builder
Admin-UI
Plugin Manager
plugin_sql.php
plugin.xml