PDA

View Full Version : how do i make a view questions about plugin development


ageurtse
01-09-2010, 06:47 AM
how do i make a new section with variables in cp->options
how do i make a new language phrase (our how you call it)

how do i put it al in a installebel plugin ?

so far i have a plugin and template. within the plugin a use some settings, i wish to alter these settings in cp->options->new section.
the text which is displayd should be translated in what ever language.

how do i put it all in a xml file, where can i find a manual ?

Lynne
01-09-2010, 03:16 PM
You need to create a Product on the Manage Products page. Then when you add these other options or phrases, you select the product to add them in and when you export your product, they will all be there.

ageurtse
01-10-2010, 05:16 AM
oke that works nearly good, but the template i create how do i add this to my product ?

only the plugin, phrase,settings are added to the export.

in the config.php file

the firstline i have is
$config['Misc']['debug'] = true;

now you can add settings and other stuff in the backend

Lynne
01-10-2010, 03:34 PM
You add a template to the product by creating the template in the MASTER STYLE and selecting the product name from the product dropdown box.