Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-05 00:25:49

thame
Member
Registered: 2005-06-07
Posts: 96
Website

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

#2 2005-10-05 01:10:49

andreaparrish
Member
From: u.s.
Registered: 2005-05-12
Posts: 14
Website

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

#4 2005-10-05 12:00:41

thame
Member
Registered: 2005-06-07
Posts: 96
Website

Re: Modify Category Pages

Wait, can you elaborate a little. I think I know what you mean but I’m not exactly sure

Offline

#5 2005-10-05 12:29:51

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#6 2005-10-05 20:23:22

andreaparrish
Member
From: u.s.
Registered: 2005-05-12
Posts: 14
Website

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

Board footer

Powered by FluxBB