Hello all,
I have section template called Icons which is used in ~10 section templates.
That template has the following form:
<CMS_INPUT_COMBOBOX name="st_icon" hFill="yes" useLanguages="no">
<ENTRIES>
<ENTRY value="icon-line2-graduation">
<LANGINFOS>
<LANGINFO lang="*" label="general_academy"/>
</LANGINFOS>
</ENTRY>
<ENTRY value="icon-android">
<LANGINFOS>
<LANGINFO lang="*" label="general_android"/>
</LANGINFOS>
</ENTRY>
...
</ENTRIES>
<LANGINFOS>
<LANGINFO lang="*" label="Select icon" description="Select icon"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
I want to make this "global", so i don't need to enter this code in every place where i want to use these icons, but just to call this form into that section template.
Is that possible?
So for example if i have a section template:
<CMS_INPUT_TEXT name="st_headline" hFill="yes" singleLine="no" useLanguages="yes">
<LANGINFOS>
<LANGINFO lang="*" label="Headline" description="Insert video headline."/>
<LANGINFO lang="DE" label="Überschrift"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_COMBOBOX name="st_icon" hFill="yes" useLanguages="no">
<ENTRIES>
<ENTRY value="icon-line2-graduation">
<LANGINFOS>
<LANGINFO lang="*" label="general_academy"/>
</LANGINFOS>
</ENTRY>
<ENTRY value="icon-android">
<LANGINFOS>
<LANGINFO lang="*" label="general_android"/>
</LANGINFOS>
</ENTRY>
...
</ENTRIES>
<LANGINFOS>
<LANGINFO lang="*" label="Select icon" description="Select icon"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
Instead of that i want:
<CMS_INPUT_TEXT name="st_headline" hFill="yes" singleLine="no" useLanguages="yes">
<LANGINFOS>
<LANGINFO lang="*" label="Headline" description="Insert video headline."/>
<LANGINFO lang="DE" label="Überschrift"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
CALLED icons template
And then if i want to change one icon i don't need to go through all of the templates, but just than one (icons).
If i was clear... I hope so.
Thanks,
Dragan