Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-23 18:12:17

manncj
Member
From: Buckinghamshire, England
Registered: 2007-10-23
Posts: 48
Website

Modifying home-list tag to prevent certain articles appearing

I have a section which i have set up using the following tag:

<txp:article form=“news-single” limit=“6” listform=“home-list” />

The home-list form includes:

<div class=“item_list”>
<txp:wet_article_thumb />
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<p class=“posted”><txp:posted /> | <txp:permlink><txp:text item=“Read full article” /></txp:permlink></p>
<div class=“excerpt”>
<txp:beginning length=“100” linktext=”“ />
</div>
</div>

I do not want all the articles that are added to the section to be displayed in the home-list

How whould i achive this?

Offline

#2 2007-11-03 08:28:44

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: Modifying home-list tag to prevent certain articles appearing

I think you could use categories if you wanted.

<txp:article category=“included1, included2, etc” form=“news-single” limit=“6” listform=“home-list” />


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

Board footer

Powered by FluxBB