Re: bigger sites, displaying content
"J. Cox" <[email protected]> Tue, 5 Aug 2003 06:26:23 -0400
| Newsgroups | gmane.comp.cms.xaraya.ui |
|---|---|
| Organization | PostNuke |
| Message-ID | <[email protected]> |
"David Dyess II" <demo-zMKz+/[email protected]> wrote in message news:3F2F8C8C.4030600-zMKz+/[email protected] > I was going to ask this question, but happened to run across this first. > Is there anyway to manipulate the articles view.php to use different > templates based on category, this would really help me out a lot. I > want to be able to push articles to the article frontpage, but have a > different template for certain categories such as user commentary. As > it is right now i have to create a new pub type to have a different > template and then as far as I can tell there's not a way to get it on > the front page without hacking. Can anyone shed any light on this for us? The #$catid# (i believe that is the var) is cached, so you could do something like: <xar:if condition="$catid eq 4"> do this </xar:else /> do that </xar:if> Not sure if that is what you mean though.