Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
zem_event: Show if the contents avaliable.
Hi everyone it me again Jauhari
I have little question.
I have this code
<h3>Event Lain</h3>
<txp:zem_event_list limit="3" location="Atrium, Indoor Entrance, Outdoor Entrance" all_locations="0">
<txp:zem_event_date format="%d/%m" /> - <txp:zem_event_finish_date />
<h4><txp:zem_event_name /></h4>
</txp:zem_event_list>
And I want make this line
<h3>Event Lain</h3>
Dissappear when the content is not available/no content
How to do it?
Thanks
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2007-06-22 07:06:34)
Offline
#2 2007-06-23 01:00:38
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: zem_event: Show if the contents avaliable.
u could try chh_if_data plugin?
Offline
Re: zem_event: Show if the contents avaliable.
nardo wrote:
u could try chh_if_data plugin?
Can you give me some example?
Thanks
Offline
#4 2007-06-25 05:12:01
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: zem_event: Show if the contents avaliable.
<txp:chh_if_data>
<h3>Event Lain</h3>
<txp:zem_event_list limit="3" location="Atrium, Indoor Entrance, Outdoor Entrance" all_locations="0">
<txp:zem_event_date format="%d/%m" /> - <txp:zem_event_finish_date />
</txp:chh_if_data>
the chh_if_data plugin is just a google away …
http://www.cokesque.com/code/134/chhifdata
Offline