Forum for discussing general topics related to Couch.
5 posts Page 1 of 1
Is this possible?
I'm working with a multi-language site and using several templates with a suffix in its name.
However the templates are default listed according to the language.

currently:
templateName1_NL
templateName2_NL
templateName3_NL
templateName1_FR
templateName2_FR
templateName3_FR

Is this possible as well?
templateName1_NL
templateName1_FR
templateName2_NL
templateName2_FR
templateName3_FR
templateName3_NL
.. the templates are default listed according to the language.
I presume you mean listed in admin-panel's sidebar.

If so, you can use the 'order' parameter with the cms:template tag to set the display order.
Please see http://www.couchcms.com/docs/tags-refer ... plate.html for details.
Could the order tag help here?

By default, all the templates defined for a web site are displayed in the admin panel in the order of their creation, the oldest one being on the top. This order can be manipulated by setting this parameter for each template. The smaller the number set as the order, the higher up the template appears in the list.

Reference: http://www.couchcms.com/docs/tags-refer ... plate.html

Edit: KK beat me by a minute :D
@krisdoff
Trust me, it was inadvertent :)
Nice, I thought "order" was a parameter for the editable fields only. Wasn't aware it could be used from different folders as well (folders for multi-langual setups I mean).
Should have thought it through though. Thanks!
5 posts Page 1 of 1
cron