Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-10-29 17:55:33
- davejeffery
- New Member
- Registered: 2005-05-28
- Posts: 2
Different templates within the same section
How do I have different templates within the same section
For example I want one template for my journal (txp/journal) and another one for journal entrys (txp/journal/[post entry name]/).
I hope I explained that properly.
Offline
#2 2005-10-29 19:13:24
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Different templates within the same section
Different templates is not possible. But you can use conditional tags:
<code>
<txp:if_article_list>
template stuff for /journal/
</txp:if_article_list>
<txp:if_individual_article>
template stuff for /journal/individual-post
</txp:if_individual_article>
</code>
I think.
Offline
#3 2005-10-30 02:14:51
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline