Start ::
PostNuke 0.7 Support ::
XTE Support ::
Different template if displaying allstories?
Moderated by: Support Team
-
- rank:
-
pnFreshman
- registered:
- April 2006
- Status:
- offline
- last visit:
- 11.02.08
- Posts:
- 42
I am attempting to create a different template for the news/topic module *if* allstories equals 1. Before I started using Xanthia, I hard-coded another function in my theme.php and in the News module.
Is there a way to create a new function in Xanthia other than themeindex and themearticle?
Or is it possible to do this in my News-index.htm template? I attempted this:
but it didn't work - assuming since there's not a Xanthia tag for that?
I also tried this as noted in another thread:
I only want this if the URL is http://www.nukesite.com/Topic*all.html (where all news stories are listed).
edited by: ToonDawg, Feb 11, 2008 - 07:18 AM -
- rank:
-
pnProfessional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 11.05.08
- Posts:
- 745
pnvarcleanfrominput fetches parameters from the URL. So if you are looking for the value of the parameter "allstories" you should use that name:
-----
best regards from Kiel, sailing city
Steffen Voß
Member of the PostNuke Steering Committee
Visit: Kaffeeringe.de - Internet & Kreativität
Start ::
PostNuke 0.7 Support ::
XTE Support ::
Different template if displaying allstories?
