Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-04-05 20:40:04
- coolhat
- Member
- Registered: 2006-03-11
- Posts: 13
Tru Tags - Getting An Excerpt from Tag Instead of Article
I began using tru tags and it is working well. However, when someone clicks on the tag itself it directs to all the articles under that tag. I would appreciate it if I could know if there is a way to get only the excerpts instead.
I created a default_tag article form and added to my default_tag page code as below:
<code><div id=“content”>
<txp:if_section name=“tag”>
<txp:tru_tags_handler />
<txp:else />
<txp:article form=“default_tag” limit=“15”/>
</txp:if_section>
<txp:if_individual_article>
<p>
<txp:related_articles label=“Related Articles” limit=“20” break=”<br />” />
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
</div>
</code>
And here is the default_tag form:
<code><h1><a href=”<txp:permlink />” title=”<txp:title />” class=“contentpagetitle” rel=“bookmark”><txp:title /></a></h1>
<txp:excerpt />
<a href=”<txp:permlink />” title=”<txp:title />” class=“contentpagetitle” rel=“bookmark”><em>Read More…</em></a>
<p>· Posted By <txp:author link=“y” /> <txp:posted /></p>
<div align=“left”><img src=”<txp:site_url />images/1.gif” style=“height:1px;width:300px” class=“divider” alt=”“ /></div></code>
Please tell me if I am missing something.
Offline