Hello to all,
I'm currently migrating project from FS4 to FS5 and I'm having issue with CMS_INPUT_CONTENTAREALIST variables.
Here is the input component:
<CMS_INPUT_CONTENTAREALIST name="cs_full" hFill="yes" rows="7">
<LANGINFOS>
<LANGINFO lang="*" label="Full document version:" description="List of all pictures for the gallery."/>
</LANGINFOS>
<SOURCES>
<TEMPLATE name="standard"/>
<TEMPLATE name="gallery"/>
<TEMPLATE name="medium"/>
<TEMPLATE name="table"/>
<TEMPLATE name="download"/>
</SOURCES>
<VARIABLES>
<VARIABLE name="st_dom_1"/>
<VARIABLE name="st_text_1"/>
<VARIABLE name="st_dom_2"/>
</VARIABLES>
</CMS_INPUT_CONTENTAREALIST>
And This is what I've got when migrated:
<FS_LIST name="cs_full" hFill="yes" rows="7">
<DATASOURCE type="inline" useLanguages="no">
<LABELS>
<LABEL lang="*">#template.st_dom_1.uid</LABEL>
<LABEL lang="*">#template.st_text_1.uid</LABEL>
<LABEL lang="*">#template.st_dom_2.uid</LABEL>
</LABELS>
<ACTIONS>
<ACTION name="ADD">
<PARAM name="select-ui">popup</PARAM>
</ACTION>
<ACTION name="REMOVE"/>
<ACTION name="UP"/>
<ACTION name="DOWN"/>
<ACTION name="EDIT"/>
</ACTIONS>
<COLUMNS>
<COLUMN show="no">#identifier</COLUMN>
</COLUMNS>
<LAYOUT>
<ADD component="toolbar" constraint="top"/>
<ADD component="overview" constraint="center"/>
<ADD component="stackedview" constraint="hide">
<PARAM name="show-language-tabs">no</PARAM>
</ADD>
</LAYOUT>
<TEMPLATES source="sectiontemplates">
<TEMPLATE uid="standard"/>
<TEMPLATE uid="gallery"/>
<TEMPLATE uid="medium"/>
<TEMPLATE uid="table"/>
<TEMPLATE uid="download"/>
</TEMPLATES>
</DATASOURCE>
<LANGINFOS>
<LANGINFO lang="*" label="Full document version:" description="List of all pictures for the gallery."/>
</LANGINFOS>
</FS_LIST>
What do I need to do to include these variables in FS_LIST
<VARIABLES>
<VARIABLE name="st_dom_1"/>
<VARIABLE name="st_text_1"/>
<VARIABLE name="st_dom_2"/>
</VARIABLES>
Also what is necessary to change in the output HTML channel.
FS_LIST is using 4 subtemplates : "standard","gallery","medium","table","download"
Do I need to change something there regarding variables "st_dom_1", "st_text_1", "st_dom_2"
Best regards,
Aleks