Форумы / Cotonti / Support / Apply another skin for sub-category

pieter
#24409 02.05.2010 01:43
Plugin for specific CSS: http://www.neocrome.net/page.php?id=2278

header.<category>.tpl does not work.
you can make a header.page.tpl, but this not help you.

When trying to load a template file to display the HTML output, under some conditions Seditio/Cotonti will try to load an optional layout. This page sum up the possible names for those optional skin files.

As sample, the line "page.CAT.tpl" means that when trying to display a page (page.php?id=...) that belongs to a category "sports", the engine will first try to use a file page.sports.tpl, and if not found it will go for the default page.tpl

list.CAT.tpl
list.group.CAT.tpl
page.CAT.tpl
page.add.CAT.tpl
page.edit.CAT.tpl
forums.posts.FCAT.FORUM_ID.tpl
forums.topics.FCAT.FORUM_ID.tpl
forums.editpost.FCAT.FORUM_ID.tpl
forums.newtopic.FCAT.FORUM_ID.tpl
users.banned.tpl
users.inactive.tpl
skins/SKIN/plugin.standalone.PLUG.tpl
skins/SKIN/SKIN.LANG.lang.php

---------------

CAT = Category code (string)
CAT = Forum category code (string)
FORUM_ID = Forum (number)
SKIN = Skin code (string)
LANG = Language code (string)
PLUG = Plugin code (string)
... can we help you ...