Forums / Cotonti / General / Custom Footer

RaisenBran
#30134 2011-07-08 17:47
#30118 pieter:

What would be the difference between footer.news.tpl and footer.page.news.tpl?

If you want a specific footer for one page. You can use an IF-structure inside it and check on page-alias.

Oh my bad I made a mistake, I'm sorry, it's fixed now. I was kinda in a rush. What I meant is that footer.page.tpl and page.news.tpl could not be combined...

Added 1 minute later:

#30128 Azazello:
Use plugin "Extra custom header and footer" Extra custom header and footer depending on: page alias or category, list category, forum section id or category, plug code. http://www.cotonti.com/datas/users/extrahf_21.zip

Added 31 seconds later:

How exactly do I use your plugin Azazello?

Added 7 minutes later:

Nevermind! for example: footer.list.news.tpl works!! I can make custom pages for my lists and pages. Thanks Aazello!

Added 11 minutes later:

Actually Azazello, I'm unsure on how to use the alias function. I tried footer.alias.radio.tpl but that didn't work with the setting on: 

Search footer for page: alias

I also tried:

Search footer for page: alias and category

I tried many other things, help?

This post was edited by RaisenBran (2011-07-08 18:20, 12 years ago)