View Full Version : problem with calandar after upgrade
nineball
06-12-2005, 10:58 PM
I am having a problem with the title bar showing up twice on the calendar after upgrading and am not sure if it is coming from a template or the php file.
The 1.x working version is http://www.heartsongctr.com/vbulletin
The 2.0 version with the problem calendar is http://www.heartsongctr.com/testforum
any help would be appreciated
Thanks
that's a problem from your templates. I could help you if you post the template code here. You probably have an extra <table> or <tr> tag in the module template.
nineball
06-13-2005, 01:17 AM
there are a lot of calendar templates, which template would you think has the problem. I didn't change any of the templates and just did an upgrade so it's a bit strange that this would happen, but I will post any template code you think might be the cause
hmm actually I'm not sure, that depends on the settings of your vbadvanced of which calendar type it will use. Why don't you post all four and I'll take a look if you want. It's up to you.
nineball
06-13-2005, 04:04 AM
adv_portal_calendar_day
<td class="<if condition="$show['highlightweek']">alt2<else />alt1</if>"<if condition="$show['highlighttoday']"> style="border:solid 1px red; font-weight:bold" title="$vbphrase[today]"</if>>
<if condition="$show['daylink']">
<span class="smallfont"><a href="calendar.php?$session[sessionurl]do=getinfo&day=$year-$month-$day&c=$calendarid" title="$eventdesc">$day</a></span>
<else />
<span class="smallfont">$day</span>
</if>
</td>
adv_portal_calendar_other_day
<td class="smallfont"><em>$day</em></td>
adv_portal_calendar_header
<tr>
<if condition="$show['day1']"><td align="center" class="thead">$day1</td></if>
<if condition="$show['day2']"><td align="center" class="thead">$day2</td></if>
<if condition="$show['day3']"><td align="center" class="thead">$day3</td></if>
<if condition="$show['day4']"><td align="center" class="thead">$day4</td></if>
<if condition="$show['day5']"><td align="center" class="thead">$day5</td></if>
<if condition="$show['day6']"><td align="center" class="thead">$day6</td></if>
<if condition="$show['day7']"><td align="center" class="thead">$day7</td></if>
</tr>
$calendarrowbits
adv_portal_calendar_week
<tr align="center">
$calendardaybits
</tr>
hmm I personally don't see anything wrong with your templates. Check this for me please, login to your vbadvanced admin panel, and then go to "edit modules", from there click your "mini calendar" module to check and see if the settings are right.
In the area that says "templates used", make sure you have all the following in there, adv_portal_calendar_week,adv_portal_calendar_header,adv_portal_calendar_day,adv_ portal_calendar_day_other, calendar_smallmonth_day
just copy and paste it in your templates used area and it should work fine. I'm pretty sure that one of the templates is missing in the list, causing the table to appear that way, cause your templates are fine.
Hope this helps you get it fixed.
Brian
06-13-2005, 10:32 AM
It looks like you still have the modules/minicalendar.php file from 1.x. Try uploading that file again and that should take care of the problem.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.