Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Modify Category Pages
My client wants specific headings for each of the category pages (ie. the resulting page when a category link is clicked). Is there any way to do this?
Offline
Re: Modify Category Pages
I’ve done something similar with forms, but I’m not sure that it could be used for category list. Maybe a <code><txp:if_category name=“category_name”></code> and then specific output forms would work?
Sorry, I’m just guessing though.
Offline
#3 2005-10-05 02:22:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Modify Category Pages
Yes, that would work. You could also create specific articles to use with the article tag. Look through the tag list at TextBook (url above) to find what you need.
Offline
Re: Modify Category Pages
Wait, can you elaborate a little. I think I know what you mean but I’m not exactly sure
Offline
Re: Modify Category Pages
I don’t know what revision you are on but if you don’t do SVN, if you could wait for 4.0.2, you could enter your customer’s requirements into the category TITLE, then you could use the <code><txp:category title=“1” /></code> tag in between the glx_if_category_list tags. Your customer would easily be able to edit the titles him/herself if you could do it this way.
Last edited by thebombsite (2005-10-05 12:32:46)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Modify Category Pages
Something like:
<code>
<div id=“header”>
<txp:if_category name=“category_name”>
<txp:output_form form=“form_name” />
</txp:if_category>
<txp:if_category name=“2nd_category_name”>
<txp:output_form form=“form_name_for_second_category” />
</txp:if_category>
</div>
</code>
was what I was talking about.
Offline
Pages: 1