Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-14 17:42:51

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

display categories in right section?

Hi folks,

as I didn’t really succeed with the search here (because I don’t know what to search for, in this case), here is my question:

I have a site with a number of single-page sections (static content) and one section “blog” which is, of course, dynamic. Now the question is, when I want to display some articles on the front page (say, section “home”), I use
< txp:category1>
< txp:swf_if_not_empty field=“category2”> / < txp:category2 />
< /txp:swf_if_not_empty>
and the categories are displayed. But instead of linking to
http://domain.de/Blog/index.php?c=somecategory in the blog section (like the links created with the wow_menu plugin within the blog section), they link to
http://domain.de/category/somecategory/ and the section is still “home”.

What do I have to change so the category links on the home page direct to the “blog” section, like
http://domain.de/Blog/somecategory… ?

And another question: How do I get the categories displayed with special characters (like ä,ö,ü)?

Last edited by BZ (2006-01-14 17:43:28)


Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com

Offline

#2 2006-01-14 20:34:39

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

Re: display categories in right section?

I think you could do with reading my little tag example. Should fix your first problem.

I believe special characters should work in the “title” so have you set titles up for your categories? You would them call them using <code><txp:category1 link=1 title=1 /></code>.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2006-01-14 21:05:47

BZ
Member
From: Stuttgart, Germany
Registered: 2005-11-24
Posts: 65
Website

Re: display categories in right section?

Yeah, this works just fine!
Very good idea.
Stuart, you’re my hero!


Diagnosis:
Version Textpattern: 4.0.3 (r1188)
PHP-Version: 4.4.1
Hosting: all-inkl.com

Offline

#4 2006-01-14 21:16:35

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

Re: display categories in right section?

Glad to hear it. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB