Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-02-23 06:38:40
- gusmao
- New Member
- Registered: 2006-02-16
- Posts: 2
Articles are not shown in the respective category pages
Hi,
I am new to Textpattern, and I am experiencing a problem that may be simple to solve, but I could not find the solution.
When I access any category page Its content is empty. I get this result when I access the categories through
http://mysite.com/?c=category_name
or
http://mysite.com/category/category_name
The menu popup generated by txp:popup shows all the categories, but the pages have no content (they have all the other elements, but not the main content). I changed the categories of the articles, created other sections, but It seems that the problem is somewhere else.
Can someone help me?
Regards,
Felipe
Offline
#2 2006-02-23 07:21:44
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Articles are not shown in the respective category pages
Make use of the if_category and article tags on your default page. :)
Offline
#3 2006-02-23 08:59:07
- gusmao
- New Member
- Registered: 2006-02-16
- Posts: 2
Re: Articles are not shown in the respective category pages
Sorry Mary, I forgot to insert the code I use in the default page. Here It is (I added wrong spaces just to publish here)
<div id="content">
<txp:article />
<txp:if_individual_article>
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next>
</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>
So, if someone knows what can be causing the problem, please answer me!
Thanks!
(Edit: updated your post so code would display properly. :) -Mary)
Last edited by Mary (2006-03-11 05:14:49)
Offline
#4 2006-03-10 05:50:38
- jessejericho
- Member
- Registered: 2005-10-29
- Posts: 25
Re: Articles are not shown in the respective category pages
I too am having this problem.
Offline
#5 2006-03-11 02:08:25
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
Re: Articles are not shown in the respective category pages
Me too.. Articles only display if the section they are in is set to display on the home page.
Offline