Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
adding a class to a section link
is there a way?
<txp:section link=“1” name=“planning” title=“1” class=“planning”/>
i would like rendered code like this:
<a href=“http://www.domain.com/planning/” class=“furniture”>Planning</a>
its for adding an icon thats why im not using the li which allready have a background image
-best
kevin
Last edited by kvnmcwebn (2008-09-08 14:14:56)
its a bad hen that wont scratch itself.
photogallery
Offline
#2 2008-09-08 14:44:57
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: adding a class to a section link
Would this get you any further?
<a href="<txp:site_url /><txp:section name="planning" title="0" />" class="planning">Planning</a>
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: adding a class to a section link
hi yes thats a bit better than the html only links im using now.guess thats as close as ill get.thanks
its a bad hen that wont scratch itself.
photogallery
Offline
#4 2008-09-08 17:28:08
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: adding a class to a section link
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: adding a class to a section link
cheers uli thats what im looking for.
its a bad hen that wont scratch itself.
photogallery
Offline
Pages: 1