Joomla fields xml for new column create dinamicly



I'm creating a multilingual component and do not want to duplicate all the items for each language .


I add dynamic columns in the items table when the user install a new language


new column description_it-IT, description_en-GB, description_new_lang.... new column title_it-IT, title_en-GB, title_new_lang....


how can I add new fields in xml ?



<field name="description_en-GB" type="text" label="Label_name" class="inputbox" " />
<field name="description_it-IT" type="text" label="Label_name" class="inputbox" " />
<field name="title_it-IT" type="text" label="Label_name" class="inputbox" " />
<field name="title_en-GB" type="text" label="Label_name" class="inputbox" " />

No comments:

Post a Comment