Forums / Cotonti / Support / Category Landing Pages

Different landing page for each category

aro747
#1 2013-12-01 04:04

Hi all,

I've just done a fresh installation of Cotonti Siena with the Barebones theme.  I'm trying to have a different landing page for each category.  I remember in older versions I could create like list.group.1.tpl and list.group.2.tpl, etc. but I don't see that now.  Actually, I don't even see list.group.tpl in the files.  How can I make it happen?  Thanks for your help.

Trustmaster
#2 2013-12-01 07:03

Given that your category code is 'foo', the correct template name is 'page.list.foo.tpl'.

May the Source be with you!
aro747
#3 2013-12-01 08:37

That works great.  Thank you very much.  Is there someplace where this kind of information is documented?

Trustmaster
#4 2013-12-01 12:26

Er, nope. This feature has been there for ages. What has changed is that we removed the unnecessary ".group." thing (and group-type categories) and added "page." prefix to all page-related templates.

May the Source be with you!