Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-20 06:53:55

Champak
Member
Registered: 2006-01-31
Posts: 56

category and search question

Is there a way to show something ONLY on the category and search page and no others incuding the front page?

The way I’m doing it now is making the same script twice with the “if” function for category and search. I would like to condense this.

Offline

#2 2006-02-20 07:33:33

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: category and search question

Depends on what the “something” is. There’s no way to combine the two “if” tags into one. But you can put the “something” in a form and use output_form inside each “if”, rather than duplicating it.


Alex

Offline

#3 2006-02-21 19:39:03

Champak
Member
Registered: 2006-01-31
Posts: 56

Re: category and search question

Thanks, I’ll give it a try.

Offline

Board footer

Powered by FluxBB