Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Same content for specified category and all subcategories

Quote Reply
Same content for specified category and all subcategories
Hi,

I would like to display the same content for specified category and ALL its subcategories (unlimited deep).

But, as you already guessed, I don't have a clue how to do it Wink.

Actually I know, with 'Category Template', but this is too complicated, confusing and time consuming.



What I would like to do:



<%if category_id eq '2' OR ITS SUBCATEGORY ???%>

Show something

<%elsif category_id eq '10' OR ITS SUBCATEGORY ???%>

Show something different

<%elsif category_id eq '32' OR ITS SUBCATEGORY ???%>

Show something different too

etc...

<%endif%>



Any help is welcome!

Thanks in advance!
Subject Author Views Date
Thread Same content for specified category and all subcategories Payooo 9351 Aug 2, 2003, 6:21 PM
Thread Re: [Payooo] Same content for specified category and all subcategories
hegu 9004 May 20, 2009, 7:10 AM
Thread Re: [hegu] Same content for specified category and all subcategories
Andy 9031 May 20, 2009, 7:16 AM
Thread Re: [Andy] Same content for specified category and all subcategories
hegu 9024 May 20, 2009, 7:21 AM
Thread Re: [hegu] Same content for specified category and all subcategories
hegu 9004 May 21, 2009, 3:31 PM
Post Re: [hegu] Same content for specified category and all subcategories
Andy 8986 May 22, 2009, 12:50 AM
Thread Re: [hegu] Same content for specified category and all subcategories
hegu 8927 Jun 6, 2009, 1:56 PM
Thread Re: [hegu] Same content for specified category and all subcategories
Andy 8897 Jun 7, 2009, 12:02 AM
Thread Re: [Andy] Same content for specified category and all subcategories
hegu 8863 Jun 7, 2009, 5:59 AM
Thread Re: [hegu] Same content for specified category and all subcategories
Andy 8913 Jun 7, 2009, 9:32 AM
Post Re: [Andy] Same content for specified category and all subcategories
hegu 8783 Jun 27, 2009, 8:42 PM