Forums / Cotonti / Support / Custom Header

SunChase
#1 2009-11-11 05:45
Is it possible to make a custom header for Lists?I mean when a url is like "list.php?c=news" can it be done to use not header.tpl but header.list.news tpl?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
ez
#2 2009-11-11 16:24
I find this an interesting question..

If this is possible, then you can change the look and feel of a site.. depending on where you are.
Is this also possible for the footer ?

It would be a great and flexible idea if we are able to change everything.. tpls, css, js etc..
depending on where you are. B)
I like it
==- I say: Keep it EZ -==
Kilandor
#3 2009-11-11 16:46
You could do one for list as a whole but currently not able to do via cat's (this will likely change in the future)
Kort
#4 2009-11-11 17:15
... or use PHP.z & PHP.c along with conditions in list.tpl
SED.by - создание сайтов, разработка плагинов и тем для Котонти
SunChase
#5 2009-11-11 17:49
ok.Than tell me this thing - how to correctly make a "IF rule" for categories.I mean something like <!-- IF {PHP.c} = 'news' -->
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Kort
#6 2009-11-11 18:11
<!-- IF {PHP.c} == news -->
SED.by - создание сайтов, разработка плагинов и тем для Котонти
SunChase
#7 2009-11-11 18:25
thanks
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Kilandor
#8 2009-11-12 13:28
<slaps self> I keep forgetting you can fully use all those var's properly now ^^