Hi all,
after an internship in a web agency who's work with Joomla , i'm trying to better understand how FLEXIcontent work.
So, to my personal site, i need to create a little field.
nothing huge, just a way to practice, with fun :roll:
So, my problem is with the file.xml.
I explain:
this is my code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="1.6" group="flexicontent_fields" method="upgrade">
<name>FLEXIcontent - avancement_project</name>
<author>Thibault CHAZOTTES</author>
<creationDate>september 2013</creationDate>
<authorUrl>www.thibault-chazottes.fr</authorUrl>
<version>1.0</version>
<description>FLEXI_FIELD_AVANCEMENT_PROJECT</description>
<files>
<filename plugin="avancement_project">avancement_project.php</filename>
</files>
<config>
<fields name="attribs">
<fieldset name="basic">
<field name="display_label" type="radio" default="1" label="FLEXI_FIELD_DISPLAY_LABEL" description="FLEXI_FIELD_DISPLAY_LABEL_DESC">
<option value="0">FLEXI_NO</option>
<option value="1">FLEXI_YES</option>
</field>
</fieldset>
<fieldset name="style">
<field name="style_css" type="list" default="0" label="FLEXI_FIELD_AVANCEMENT_PROJECT_STYLE_CSS" description="FLEXI_FIELD_AVANCEMENT_PROJECT_STYLE_CSS_DESC" >
<option value="0">FLEXI_FIELD_AVANCEMENT_PROJECT_GREEN</option>
<option value="1">FLEXI_FIELD_AVANCEMENT_PROJECT_BLUE</option>
<option value="1">FLEXI_FIELD_AVANCEMENT_PROJECT_RED</option>
<option value="1">FLEXI_FIELD_AVANCEMENT_PROJECT_YELLOW</option>
<option value="1">FLEXI_FIELD_AVANCEMENT_PROJECT_ORANGE</option>
</field>
</fieldset>
</fields>
</config>
<languages>
<language tag="fr-FR">fr-FR.plg_flexicontent_fields_avancement_project.ini</language>
</languages>
</extension>
But the resultat is:
As you can see, the fieldset "style" doesn't appear...
What's the problem?
I watch other field contents like "text", "image"...etc but i dont see what's the problem..
My file.php is empty for the moment...coïncidence?
I tried to solve the problem by mylsef, but i'm not very comfortable with the internal structure of FLEXIcontent.
Thanks for your help