Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-12 02:51:35

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Using "active_class"

Hello, been searching TextBook and the forum but couldn’t find an answer: can you use active_class in other contexts than category / section lists? Thanks in advance!
Ben.

Offline

#2 2010-10-12 06:37:15

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Using "active_class"

You can use active_class anywhere – in building menu from articles (use <txp:if_article_id />), for example.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#3 2010-10-12 07:07:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Using "active_class"

If you meant ‘use it as an attribute’, no.

Offline

#4 2010-10-12 15:46:12

ploinkr
Member
From: Montreal
Registered: 2007-12-06
Posts: 83

Re: Using "active_class"

Thanks guys – yes, that’s what I meant Els. Too bad, could be very useful.

Offline

Board footer

Powered by FluxBB