Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-13 23:58:30

coleh
Member
From: Edinburgh, UK
Registered: 2007-08-16
Posts: 28
Website

if_article_custom?

I’m calling txp:article_custom on a series of events from a section to advertise future events (time=“future”).
If there is no event, is it possible to return a statement along the lines of ‘no events’?

Cole


Jack of all trades, Doctor of one

Offline

#2 2008-02-14 08:49:17

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: if_article_custom?

<txp:chh_if_data>
<txp:article_custom time="future" />
<txp:else />
<p>No events.</p>
</txp:chh_if_data>

chh_if_data

Offline

Board footer

Powered by FluxBB