Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-02-13 15:25:00
- banko
- New Member
- Registered: 2007-01-29
- Posts: 5
Different link style - depend on page visiting - SOLVED
Hey Guys
Im hoping for some help once again.
Imagine a menu containing two links: Home and About – just to simplify.
What i want is having one color and background for the link to the active page and another color and background for the links to pages besides the active page.
Can some of you give some help on how to do it most easily?
I have considered the if_article= – but would then have to fill in for all the links/articles! Is there some easier way?
I hope some of you can help me, and thank you all in advance.
Last edited by banko (2007-02-13 21:33:51)
Offline
Re: Different link style - depend on page visiting - SOLVED
have tried txp:if_section and txp:if_category?
If you affect your articles to a specific section you can use txp:if_section
Hope that help you
Offline
Re: Different link style - depend on page visiting - SOLVED
Plugins are really great way to accomplish this via section navs. Try rdt_dynamenus or tsw_sec_list or any of these
Offline
#4 2007-02-13 21:33:37
- banko
- New Member
- Registered: 2007-01-29
- Posts: 5
Re: Different link style - depend on page visiting - SOLVED
Hi mrdale – perfect answer, the rdt_dynamenus solved it beautifully.
Thanks alot! :)
Offline