Plugin Builder

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 Plugin Builder, because:

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

  • It will generate the new plugin.xml 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 Manager > 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!

Last updated