| SunChase |
|
|---|---|
|
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 |
|
|---|---|
|
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. ![]() I like it ==- I say: Keep it EZ -==
|
| Kilandor |
|
|---|---|
|
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 |
|
|---|---|
|
... or use PHP.z & PHP.c along with conditions in list.tpl
SED.by - создание сайтов, разработка плагинов и тем для Котонти
|
| SunChase |
|
|---|---|
|
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 |
|
|---|---|
<!-- IF {PHP.c} == news -->SED.by - создание сайтов, разработка плагинов и тем для Котонти
|
| SunChase |
|
|---|---|
|
thanks
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
| Kilandor |
|
|---|---|
|
<slaps self> I keep forgetting you can fully use all those var's properly now ^^
|