Forums / Cotonti / Skins / different list.tpl

lukgoh
#1 2011-12-12 20:28

I was searching for the awnser but couldn't seem to find it. I was wondering what is the correct way to set up a list.tpl for a perticular page catergory, for example I have renamed the News catergory to Blog and would like to display the blog list different to other lists used on the site. I understand to set up for pages you use page.list.tpl but I have tried blog.list.tpl and page.blog.list.tpl even blog.page.list.tpl with no success. The code for the catergory is set to "blog" and is named Blog.

 

Thanks in advance,

 

Luke.

Added 42 minutes later:

Just incase it makes a difference (don't see why it would) I am using Siena 0.9.6

This post was edited by lukgoh (2011-12-12 21:11, 12 years ago)
esclkm
#2 2011-12-12 21:16

simple))) 

{madulename}.{module part}.{cat}

page.list.blog))))

nothing difficult

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
GHengeveld
#3 2011-12-12 23:06

Well you were close. Like esclkm said you need page.list.blog.tpl.

Indeed this is identical between Genoa and Siena.

lukgoh
#4 2011-12-12 23:22

Thank you very much guys, I thought I knew it and it got a little frustrating searching through loads of irrelevant pages so I thought I would just ask. Might help people later on. 

 

Luke.