PDA

View Full Version : Calendar Modification Question


TOMC28
12-01-2008, 12:41 AM
I have vb 3.7.1

I had someone help me modify my calendars to have a drop down menu in the main navigation bar. So now I have a drop down menu which includes many different calendars for different parts of the world. (he is now no-longer around)

The question I have is.... On the primary calendar (Midwest) I can only access 2006, 2007 and 2008. On the other calendars I can access 2005, 2006, 2007, 2008, 2009, 2010 or 2011.

Can you tell me what I would need to modify in order to get the main calendar to access 2009, 2010 and 2011?

Here is some code from my site....is this enough to receive support? Not sure if this has everything. I could supply all the code if needed...

.Edit Templates
..Calendar Templates
...Navigation / Breadcrumb Templates
....Navbar

<!-- NAVBAR POPUP MENUS -->

<div class="vbmenu_popup" id="xxxxxxx_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">xxxxxxx Calendars </td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php">Midwest xxxxxxx</a>
</tr>
<tr>
<tr>

<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php?s=&month=6&year=2008&do=&c=11">Northern USA xxxxxxx</a>
</tr>
<tr>
<tr>

<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php?s=&month=6&year=2008&do=&c=12">Eastern USA xxxxxxx</a>
</tr>
<tr>
<tr>

Bawtneez
12-01-2008, 12:56 AM
Im not a pro at code, but if you look at your Midwest line, it looks different than the other lines Might wanna try to edit it to be :


<tr>
<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php?s=&month=6&year=2008&do=&c=11">Midewest USA xxxxxxx</a>
</tr>

TOMC28
12-01-2008, 02:06 AM
Hi. I figured this one out. It was simple... Go to Admin CP, Calendars, Edit, Date Range. And just change the date range!

Can someone tell me what the c= X is in this code? For each additional (new) calendar there is a different value. The code is the same except for the "name of the calendar" and the c="x". What is the x????


<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php?s=&month=6&year=2008&do=&c=11">Northern USA xxxxxxx</a>
</tr>
<tr>
<tr>

<td class="vbmenu_option" title="nohilite">
<a href="http://www.mysite.com/calendar.php?s=&month=6&year=2008&do=&c=12">Eastern USA xxxxxxx</a>