Hello,
I speak very bad english sorry !
- I have duplicate template and i renamed "atelier_tic"
- I redid the file item.xml but positions:
<?xml version="1.0" encoding="utf-8"?>
<form>
<author>Magali </author>
<website>www. .fr</website>
<email> </email>
<license>GPLv2</license>
<version>1.1</version>
<release>1 octobre 2014</release>
<description>Template pour afficher les informations sur un atelier TIC</description>
<fields name="attribs">
<fieldset name="attribs" addfieldpath="/administrator/components/com_flexicontent/elements">
<field name="title_cut_text" type="text" size="3" default="200" label="FLEXI_TITLE_MAXLEN" description="FLEXI_TITLE_MAXLEN_DESC" />
<field name="top_cols" type="list" default="two" label="FLEXI_ITEM_TOP_COLS" description="FLEXI_ITEM_TOP_COLS_DESC">
<option value="">FLEXI_USE_GLOBAL</option>
<option value="one">FLEXI_1_COL</option>
<option value="two">FLEXI_2_COLS</option>
</field>
<field name="bottom_cols" type="list" default="two" label="FLEXI_ITEM_BOTTOM_COLS" description="FLEXI_ITEM_BOTTOM_COLS_DESC">
<option value="">FLEXI_USE_GLOBAL</option>
<option value="one">FLEXI_1_COL</option>
<option value="two">FLEXI_2_COLS</option>
</field>
<field name="subtitle_tabs_grp" type="separator" default="SubTitle Tabs" description="" level="level2" hr="false" />
<field name="subtitle_tab1_label" type="text" default="TAB01" label="Label for Tab 1" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="subtitle_tab2_label" type="text" default="TAB02" label="Label for Tab 2" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="subtitle_tab3_label" type="text" default="TAB03" label="Label for Tab 3" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="subtitle_tab4_label" type="text" default="TAB04" label="Label for Tab 4" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="subtitle_tab5_label" type="text" default="TAB05" label="Label for Tab 5" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="subtitle_tab6_label" type="text" default="TAB06" label="Label for Tab 6" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tabs_grp" type="separator" default="Bottom Tabs" description="" level="level2" hr="false" />
<field name="bottom_tab1_label" type="text" default="TAB01" label="Label for Tab 1" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tab2_label" type="text" default="TAB02" label="Label for Tab 2" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tab3_label" type="text" default="TAB03" label="Label for Tab 3" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tab4_label" type="text" default="TAB04" label="Label for Tab 4" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tab5_label" type="text" default="TAB05" label="Label for Tab 5" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="bottom_tab6_label" type="text" default="TAB06" label="Label for Tab 6" description="The text for this label is filter via JText (you can add to your ini language files)" />
<field name="templatehtmlmode" type="separator" hr="false" default="FLEXI_TEMPLATE_HTML_MODE" level="level2" menu="hide" />
<field name="htmlmode" type="list" default="0" label="FLEXI_HTML_MODE" description="FLEXI_HTML_MODE_DESC" filter="int">
<option value="0">FLEXI_XHTML</option>
<option value="1">FLEXI_HTML5</option>
</field>
</fieldset>
</fields>
<fieldgroups>
<group>communes</group>
<group>initiations</group>
<group>periode</group>
<group>description</group>
<group>programme</group>
</fieldgroups>
<cssitem>
<file>css/item.css</file>
</cssitem>
<jsitem>
</jsitem>
</form>
- I realized the file item.php with the class but post up in article
I write the post in the part Forum French
Thank You
Magali
ggppdk wrote: Hello
i don't understand what you have done by reading the translation
so i ask:
1. you have duplicate a built-in template and you are customizing the code of the item.php file (ITEM VIEW) ?
2. have you added the field in a template position in the
item layout of your custom template ?
He