PDA

View Full Version : Events Forum Home Display Issue


paul41598
07-10-2005, 02:58 PM
I modified my forum events a little, to use comma's ( , ) instead of line breaks. Just edited the "forumhome_event" template actually. So I have something like this:


<if condition="!$vboptions['showeventtype']">
$callink,&nbsp; <!-- $eventdates -->
<else />
$eventdate: $daysevents
</if>

However now, if theres only 1 event for the day, it still shows the comma ( , ) when it shouldnt display any comma's (see screenshot)

Is there any way around this? Maybe using an if statement in index.php right around the $callink statement?

Thanks!

paul41598
07-12-2005, 01:19 PM
I modified my forum events a little, to use comma's ( , ) instead of line breaks. Just edited the "forumhome_event" template actually. So I have something like this:


<if condition="!$vboptions['showeventtype']">
$callink,&nbsp; <!-- $eventdates -->
<else />
$eventdate: $daysevents
</if>

However now, if theres only 1 event for the day, it still shows the comma ( , ) when it shouldnt display any comma's (see screenshot)

Is there any way around this? Maybe using an if statement in index.php right around the $callink statement?

Thanks!
none would have a solution?