Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
txp:older styling / variable
when I use txp:older as a container tag, it functions correctly, and doesn’t show on the last page of an article_list.
however, I can’t apply any styling to the links that are generated. is that right? no class attribute on txp:older?
when i used it in the manner below, it shows up all the time, even on the last page of an article list.
<a href='<txp:older '>more</a>
i tried to create a variable to check to see if <txp:older /> generates content, but it’s always reporting back as empty…
<txp:variable name="morearticles" value='<txp:older />' />
<txp:if_variable name="morearticles" value=""><txp:else />display this</txp:if_variable>
it always comes back as true, even if there are more articles (which should make it false).
what am i missing?
Offline
Re: txp:older styling / variable
On the styling, could you cheat a little and wrap it inside a styled span
?
Offline
#3 2014-07-30 10:28:56
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,304
Re: txp:older styling / variable
claywso wrote #282518:
i tried to create a variable to check to see if <txp:older /> generates content, but it’s always reporting back as empty…
Have you used the older
tags below the article
tag?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Pages: 1