Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Organising articles and static content
In that case then you could set the specific article to “sticky” and call it using:-
<code>
<txp:if_individual_article>
<txp:article form=“om_skolen_article” />
<txp:else />
<txp:article status=“sticky” form=“om_skolen_article” />
</txp:if_individual_article></code>
<br />
Then underneath that you can use the <code><txp:if_category name=“CategoryName”></txp:if_category></code> tags to define what to do when you view any of the category items provided that the category is a part of the URL.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Organising articles and static content
Thnaks Stuart will give it a try in the mornign and report back. 1.40am!! Time for bed…zzzz
Offline
#15 2005-10-21 23:34:09
- NyteOwl
- Member
- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Organising articles and static content
Just wondering if you got this working as intended?
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Re: Organising articles and static content
Yes NyteOwl its all working now. I use the glx_if plugin quite a bit to check if the user is on a section or category page. Very helpful plugin.
Offline
#17 2005-10-22 19:56:51
- NyteOwl
- Member
- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Organising articles and static content
Thanks for the come back! I’ll look into it as I’m still looking at using TXP for my site redesign. :-)
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Offline