Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-06-19 11:58:19
- biggles
- Member
- Registered: 2007-10-11
- Posts: 24
Same date on multiple posts on the same day
If have more than one post on the same day, at the moment my blog will repeat the h4 containing that days date.
How can I write an ‘if different’ rule in a form so if I have more than one post on the same date, the date doesn’t repeat?
Many thanks,
Biggles.
Offline
#2 2009-06-19 12:48:25
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Same date on multiple posts on the same day
Something like this:
<txp:if_different>
<h4><txp:posted format="%e %b %Y" /></h4>
</txp:if_different>
<txp:permlink><txp:title /></txp:permlink>
Offline
#3 2009-06-19 15:52:33
- biggles
- Member
- Registered: 2007-10-11
- Posts: 24
Re: Same date on multiple posts on the same day
It worked! Many thanks, Els! ;-)
Biggles.
Offline