PDA


View Full Version : Calendar problem


cLord
05-16-2004, 01:54 AM
Installation went fine, only one problem to report:

See for yourself: http://www.whoox.com/cmps_index.php
The calendar size is wrong...
I double checked the template modifications!

Please help,
cLord ;)

thepomonacow
05-16-2004, 02:21 AM
I also had this problem....and re-installed the templates.

Porthos
05-16-2004, 02:26 AM
Go to your style manager, edit templates. Then look for vBadvanced CMPS templates and click on it. Then click on adv_portal_calendar. Look for this line: <table align="center" border="0" cellpadding="4" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">

Then change the cellpadding="4" to "2" thats how I did it.

cLord
05-16-2004, 02:56 AM
Re-installing the templates did not work for me, in fact I already tried that!

Changing the cellpadding worked but I don't think it's supposed to be like that, the calendar looks very narrow! And Brain has a different calendar on this site...

cLord ;)

Porthos
05-16-2004, 03:19 AM
Re-installing the templates did not work for me, in fact I already tried that!

Changing the cellpadding worked but I don't think it's supposed to be like that, the calendar looks very narrow! And Brain has a different calendar on this site...

cLord ;)

Brains Calendar has the bullet links either turned off or disabled on his calendar thats all. His calendar can be a cellpadding="4" if you don't have the links on the side of the calendar. Bottom line is it's only a calendar and if it's a lil narrower because I changed the cellpadding but it doesn't mess up my page then I can live with it. It's only a calendar...

thepomonacow
05-16-2004, 03:52 AM
it worked quite nice for me

Brian
05-16-2004, 12:15 PM
Apparently I forgot to update the zip with the new templates.txt file. I've just updated it to insure that nobody else will have a problem with this.
For those that have already installed, if you'll go to your Style Manager and choose "Search in Templates". In that section, enter "$dontshowweek" (without the quotes) in the "Search for Text" box, and "$show['dontshowweek']" (again, without the quotes) in the "Replace with Text" box. You'll also want to edit your "calendar_smallmonth_header" template to change "$vba_options[blockbullet]" to "$vba_options[portal_blockbullet]".

cLord
05-16-2004, 03:14 PM
Brian,

I just did the things you posted above but now my calendar has another problem...
Take a look: http://www.whoox.com/cmps_index.php

cLord ;)

Brian
05-16-2004, 03:22 PM
It looks like the calendar_smallmonth_header template wasn't updated for some reason. Try replacing the content you have for that template with this:


<tr>
<if condition="$show['dontshowweek']">
<td class="tcat" colspan="$colspan" align="left"><span class="smallfont"><b>$vba_options[portal_blockbullet]
<else />
<td class="tcat" colspan="$colspan" align="center"><b>
</if><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a><if condition="$show['dontshowweek']"></b></span></if></td>
</tr>
<tr align="center">
<if condition="!$show['dontshowweek']"><td class="thead">&nbsp;</td></if>
<if condition="$show['day1']"><td class="thead">$day1</td></if>
<if condition="$show['day2']"><td class="thead">$day2</td></if>
<if condition="$show['day3']"><td class="thead">$day3</td></if>
<if condition="$show['day4']"><td class="thead">$day4</td></if>
<if condition="$show['day5']"><td class="thead">$day5</td></if>
<if condition="$show['day6']"><td class="thead">$day6</td></if>
<if condition="$show['day7']"><td class="thead">$day7</td></if>
</tr>
$calendarrowbits

cLord
05-16-2004, 03:26 PM
Thank you Sir!

That did the trick...
ThanX for the quick response.

cLord :)

Zedd
05-20-2004, 08:44 PM
I jsut changed the 4 to a 2 qnd that fixed it for me, the new template did not work.

The other problem I had was the links in the weeks section did not work, had to just edit the template a bit to get them to point to the forums directory and not the root directory.

Raven_FCF
01-28-2005, 06:54 AM
Hi! I just installed VB3 & VBadvanced. Needs a lot of tweaking. One of my problems is like most people above ^

I've adjusted the padding. Thnx. :)

Where can I change the font size for my calendar?

trulylowcarb
03-07-2005, 01:00 PM
I am having problems with my calendar and I can't seem to fix them on my own. Have triple-checked all file mods, but still it only displays correctly if I reduce both the padding and spacing AND change it to 5-days only. I could live with that on the mini calendar, but not the main calendar, weekends DO happen. ;)

Please answer the where can I change the font size for my calendar question, I would like to reduce mine and adding < font size="-whatever" > in the template isn't helping at all. Thanks.

trulylowcarb
03-07-2005, 01:23 PM
i did eventually force my font sizes to shrink with my clumsy and no-doubt horrifying "combine html with php" skills, but there just has to be a better way to do this?