Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
How do you select a current item
Example: You have a sidebar with all the articles in your current section. How can you give an extra classname to the article that is currently being viewed?
<tpx:if_current></txp:if_current>
?
Last edited by maxvoltar (2008-05-27 15:17:47)
Textpattern projects: Maxvoltar, Made by Elephant, Twunch
Offline
Offline
Re: How do you select a current item
In Txp 4.0.7: if_article_id
, see change set 2875.
The future’s so bright I gotta wear shades!
Offline
Re: How do you select a current item
wet wrote:
In Txp 4.0.7:
if_article_id
, see change set 2875.
oh! it’s getting better and better…
Last edited by sthmtc (2008-05-28 07:42:11)
Offline
Pages: 1