Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
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
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
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
Re: display categories in right section?
Glad to hear it. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1