Форуми / Cotonti / Support / Input validation in Cotonti, and other

GHengeveld
#8806 25.02.2009 08:19
Concerning your last question. This is certainly possible, in exactly the same way it worked in Seditio. If you create a template file named page.somecategory.tpl, it will be used instead of page.tpl for pages which reside inside a category named 'somecategory' (structure code). You can also use this for page.add.somecategory.tpl, list.somecategory.tpl and many others. The default page.system.tpl actually uses this technique.
In my opinion, this is the best feature of the template engine.