%PDF- %PDF-
Direktori : /home1/dimen328/libertysa.com.br/admin/modules/blog/app/plugins/pjInstaller/config/ |
Current File : //home1/dimen328/libertysa.com.br/admin/modules/blog/app/plugins/pjInstaller/config/README.txt |
1. How to install a plugin ----------------------------------------------- 1.1 Before script installation - Copy the plugin folder and paste it into 'app/plugins/' - Do the same for all the plugins you need, then install the script 1.2 After script installation - Copy the plugin folder and paste it into 'app/plugins/' - Manually run the plugin *.sql file(s), located in 'app/plugins/PLUGIN_NAME/config/' 2. How to enable a plugin ----------------------------------------------- Add plugin name to $CONFIG['plugins'] array into 'app/config/config.inc.php' and 'app/config/config.sample.php' For example: <?php $CONFIG['plugins'] = array('pjInstaller', 'pjAdminBackup'); //-- OR -- $CONFIG['plugins'] = 'pjInstaller'; ?> 3. How to access a plugin. ----------------------------------------------- For example: index.php?controller=pjInstaller index.php?controller=PLUGIN_NAME&action=SOME_ACTION 4. How to use a plugin accross the script ----------------------------------------------- 4.1 Into controllers - Using the plugin model (not applicable) - Using the plugin resources (not applicable) 4.2 Into presentation layer (views) (not applicable)