Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-07 21:30:26

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Category Page vs. Article Page

1) On initial install, I noticed the category page seems to have a different form then the default form. (comment is missing)

What is the form being used for category page?

2) The url for category url is category/cat_name , is there a way to change the “/category/” in the url through the database?

3) Finally, is there a way to modify the default title appended text i.e. site title: , if I would like to move the site title : placement in the html title tag, or change : to – ?

Regards,

Brian

Offline

#2 2007-06-08 10:18:22

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Category Page vs. Article Page

brianlux0r wrote:

1) On initial install, I noticed the category page seems to have a different form then the default form. (comment is missing)

What is the form being used for category page?

If you don’t specify a form (or listform) using the attributes in your article tag, ‘default’ will be used. But comments only show in individual article mode.

2) The url for category url is category/cat_name , is there a way to change the “/category/” in the url through the database?

Yes, in the txp_lang table. Search for ‘category’.

3) Finally, is there a way to modify the default title appended text i.e. site title: , if I would like to move the site title : placement in the html title tag, or change : to – ?

Yes, you can change the separator in your txp:page_title tag, or don’t use that tag and build your own page title using conditionals (if_section, if_individual_article, etcetera).

Offline

#3 2007-06-08 19:18:16

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Re: Category Page vs. Article Page

Thanks for your help.

How do you set individual article mode?

Im not sure which row to modify in the txp_lang , there are many category entrys there, do you remember which one it is speciifically to change the url verbage?

Offline

#4 2007-06-08 20:14:09

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Re: Category Page vs. Article Page

brianlux0r wrote:

How do you set individual article mode?

Search for the if_individual_article tag in this list

Offline

#5 2007-06-08 21:23:07

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Category Page vs. Article Page

brianlux0r wrote:

Im not sure which row to modify in the txp_lang , there are many category entrys there, do you remember which one it is speciifically to change the url verbage?

In my table it’s ID 425, but that may be different in your table (depending on when you last updated the language, if you have more than one language installed, etcetera). The ‘name’ field says ‘category’, ‘event’ is ‘public’, and you should change the ‘data’ field.

Remember that it will be overwritten when you update the language or your entire install!

Last edited by els (2007-06-08 21:25:59)

Offline

Board footer

Powered by FluxBB