Plugin Builder
Last updated
Was this helpful?
Last updated
Was this helpful?
Please note: This page is under construction and has not been finished yet.
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.
Create an empty plugin folder in e107_plugins (eg. "myplugin")
Create a new text file with the *_sql.php extension. (eg. "myplugin_sql.php")
Using a tool such as phpMyAdmin, create your database table structure, and then export it in SQL format.
Copy and paste the database structure ("CREATE TABLE") to your your *_sql.php file. (see other plugins for examples)
Go to Admin Area > Manage > > Plugin Builder and choose "myplugin" from the dropdown menu and then follow the prompts.
Thoroughly check the details of each Table Tab (and Preferences Tab if you need them) before proceeding with the creation process.
field
caption
type
data
width
batch
filter
inline
validate
display
R/O
Helptip
ReadParms
WriteParms