nick-harper
07-11-2015, 08:08 AM
A lot of my members are complaining about missing out when on the mobile version.
I am trying to display upcoming events on the mobile version with the following code:
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
However I don't think the variables are actually being assigned.
How can I extend it so that I can display events upcoming on the mobile theme?
I am trying to display upcoming events on the mobile version with the following code:
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
However I don't think the variables are actually being assigned.
How can I extend it so that I can display events upcoming on the mobile theme?