Project

General

Profile

Actions

Product Plugins » History » Revision 1

Revision 1/10 | Next »
Patrick Kohl, 10/08/2011 04:01 PM


Product Plugins

for user

The product plugin is installed as a standard joomla plugin

To see it you must publish it in joomla extention after installation.

After you do that, you can find it in the customfields

on edit Choice :
Custom Field Type : plugin

After choicing the plugin you can setup the defaut value depending on your plugin.

for developper.

Language files :

XML install file must use the name in this form plg_vmcustom_YOURPLUGINNAME

EG. for textinput french and english
<languages>
<language tag="en-GB">en-GB.plg_vmcustom_textinput.ini</language>
<language tag="fr-FR">fr-FR.plg_vmcustom_textinput.ini</language>
</languages>

the constructor include directly the language file to simplify using JTEXT

Try to always use this convention name in the ini files :
VMCUSTOM_YOURPLUGINNAME_STRING="my string in english"

EG. for texinput plugin , string : size
VMCUSTOM_TEXTINPUT_INPUT_SIZE="Size of input"

Write your plugin :

TODO

Use plugin parameters :

TODO

Updated by Patrick Kohl over 12 years ago · 1 revisions