Eq4bits
01-13-2008, 05:28 PM
For my forum we have a 2nd calendar for our 'game' events. This makes adding different individual (non-ranged/non-repeating) events a real pain in that once you add one you have to click back thru to the 'show calendar' page to be able to get to the add event menu.
Which template would I add (and where and if any addditional coding) this:
<!-- add event menu -->
<div class="vbmenu_popup" id="add_event_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[add_new_event]</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[single_all_day_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&type=single&c=$calendarinfo[calendarid]">$vbphrase[single_all_day_event]</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[ranged_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&c=$calendarinfo[calendarid]">$vbphrase[ranged_event]</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[recurring_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&type=recur&c=$calendarinfo[calendarid]">$vbphrase[recurring_event]</a>
</td>
</tr>
</table>
</div>
<!-- / add event menu --> to? I tried adding it to:
calendar_showevents, no luck
calendar_showeventsbit, no luck
calendar_showeventsbit_customfield, no luck againAny assistance would be greatly appreciated
--------------- Added 1200277545 at 1200277545 ---------------
n/m
figured out the correct code (not that above obviously), the correct template and the correct location within that template to put it.
Which template would I add (and where and if any addditional coding) this:
<!-- add event menu -->
<div class="vbmenu_popup" id="add_event_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[add_new_event]</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[single_all_day_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&type=single&c=$calendarinfo[calendarid]">$vbphrase[single_all_day_event]</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[ranged_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&c=$calendarinfo[calendarid]">$vbphrase[ranged_event]</a>
</td>
</tr>
<tr>
<td class="vbmenu_option">
<img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[recurring_event]" border="0" />
<a href="calendar.php?$session[sessionurl]do=add&type=recur&c=$calendarinfo[calendarid]">$vbphrase[recurring_event]</a>
</td>
</tr>
</table>
</div>
<!-- / add event menu --> to? I tried adding it to:
calendar_showevents, no luck
calendar_showeventsbit, no luck
calendar_showeventsbit_customfield, no luck againAny assistance would be greatly appreciated
--------------- Added 1200277545 at 1200277545 ---------------
n/m
figured out the correct code (not that above obviously), the correct template and the correct location within that template to put it.