Announcement

Collapse
No announcement yet.

How do I make the VB3 calendar look like the old VB2 calendar?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I make the VB3 calendar look like the old VB2 calendar?

    I just need to make it so that each day of the month is a square instead of the smaller rectangle that it is now. Basically the same way it looked in VB2.

    Is this a template thing or is there an option some place?

    Thanks in advace!

    Chris

  • #2
    vB2 uses a height of 100 for calendar days. vB3 uses 50. You can change this by going to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Calendar Templates -> calendar_monthly_day

    Make the changes in red:

    Code:
    <if condition="$show['highlighttoday']">
    	<td class="alt1" height="[color=red]100[/color]" width="$daywidth" style="padding:0px">
    <else />
    	<td class="alt2" height="[color=red]100[/color]" width="$daywidth" style="padding:0px">
    </if>
    In that same section of your Admin CP, edit the calendar_monthly_day_other template.

    Code:
    <td height="[color=red]100[/color]" width="$daywidth" style="padding:0px">
    	<div class="thead">
    		<span style="float:$stylevar[right]">$otherday$day</span>
    		$otherdayname$dayname
    	</div>
    	&nbsp;
    </td>
    This will make the days look more square.

    Comment


    • #3
      Hey this is great. I came looking for this information as well. Very good, clear instructions Jack Bunce, thank you!

      Comment


      • #4
        Can someone attach/post a small picture of what vb2 calendar use to look like? Thank you.

        Comment


        • #5
          Search Google for "powered by vbulletin 2.3.7". Here is one I found:

          http://www.petdepot.biz/forums/calendar.php

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X