Textpattern Forum

You are not logged in. Register | Login | Help

#11 2008-11-26 18:34:58

marcusm
New Member
Registered: 2008-11-26
Posts: 1

Re: asy_showdate: shows posted-date, only if different from prom previous

I just started a new blog with the latest version of Textpattern (4.0.6). On my main page I would like the date to be displayed only once per day, above the entries for that day. So I installed this plug-in (asy_whodate) and put it in the default form, according to the instructions, but the result is that no date is displayed at all.

Anyone know why it isn’t working or how to fix it?

Here is the default form, as I now have it:

<txp:asy_showdate format=“l, F j” wraptag=“h2” />

<txp:if_individual_article>
<h1 class=“entry-title”><txp:permlink><txp:title /></txp:permlink></h1>
<txp:else />
<h3 class=“entry-title”><txp:permlink><txp:title /></txp:permlink></h3>
</txp:if_individual_article>

<div class=“entry-content”>
<txp:body />
</div>

<p class=“tags”><txp:category1 title=“1” link=“1” />, <txp:category2 title=“1” link=“1” /></p>

<txp:comments_invite wraptag=“p” />

<div class=“divider”><img src=”<txp:site_url />images/1.gif” width=“400” height=“1” alt=”—-” title=”“ /></div>

Offline

#12 2008-11-26 20:25:25

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,397
Website

Re: asy_showdate: shows posted-date, only if different from prom previous

Wouldn’t txp:if_different do exactly the same? (FAQ)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

Board footer

Powered by FluxBB