Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-06-21 07:13:01

gfxx
Member
Registered: 2008-09-04
Posts: 12

Constant Category? Make all content depended on a category set ie ?c=b

Hi,

I was thinking to do the following: a portfolio which I can link to, say www.portfolio.com/?c=graphic . Then, depending on what I set c to be (may it be graphic, movies, etc), the whole site will only show that content. So the user doesn’t navigate to another category by accident. Any suggestions how to achieve that?

Thanks!

Offline

#2 2010-06-21 11:37:28

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

Re: Constant Category? Make all content depended on a category set ie ?c=b

I not sure i fully follow your Question.

If you mean is it possible to change the name of a category even though articles are already assigned to it, then the answer is yes. The url will then be www.portfolio.com/?c=movies.

If you mean is it possible to show all the articles from the category movies if someone goes to www.portfolio.com/?c=graphic, then the answer is also yes but then you have to go about it differently

<txp:if_category name="graphic">
    <txp:article_custom category="movies" />
<txp:if_category>

Last edited by Timid&friendly (2010-06-21 15:02:16)


I think, therefore I AM, … … er … I think :-?

Offline

Board footer

Powered by FluxBB