Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-10-01 23:38:48

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#14 2005-10-01 23:41:11

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#16 2005-10-22 13:21:37

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#18 2005-10-22 20:34:11

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Organising articles and static content

Need any help just post. Good luck!

Offline

Board footer

Powered by FluxBB