Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-04-02 15:36:26
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
To Publish an Articule ONLY in a Particular Section
I want to publish an article that doesnt appear in the mail secction, i mean, this article be directly archived in an specific section.
For Example:
This article could appear within the TAG:
<txp:linklist category="Commercial" break="br" />
But i DONT WANT that this specific article appear in the main section:
<txp:article />
(edited to show code. – Els)
Last edited by neokultur (2006-04-02 21:54:33)
Offline
Re: To Publish an Articule ONLY in a Particular Section
Create a specific section for it under the “Section” tab and answer “no” in all the little radio buttons for that section. In the article editing screen assign the article to the new section. You now need to tell TXP how to deal with the new section on the page so you can either create a new page template for it (and make sure that the new template is assigned to the new section under the “Sections” tab) or use
<code>
<txp:if_section name=“newSection”>
<txp:article />
</txp:if_section></code>
<br />
in an existing template to separate that section from the rest.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2006-04-02 21:53:56
- neokultur
- Member
- Registered: 2005-09-23
- Posts: 43
Re: To Publish an Articule ONLY in a Particular Section
Thanks! :)
Offline
#4 2006-04-03 00:50:35
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline