News:

Wondering if this will always be free?  See why free is better.

Main Menu

Remove Mini Calendars on left

Started by auroramae, July 16, 2008, 12:05:23 PM

Previous topic - Next topic

auroramae

I just upgraded last night to 2.0 beta 3.1.
I use the default template with CSS modifications and a different set of graphics.
The only MOD installed at this time is "users online today."
I would like to remove the 3 calendars from the left panel on the calendar page.
I don't see an  option to do so in the calendar settings.
Although this seems like a great addition, it scrunches the calendar... lots of events.  Even on this website it breaks the template.

Any advice would be greatly appreciated.

aurora

greyknight17

Open up /Themes/default/Calendar.template.php:

Code (Search for) Select
<div style="padding: 1px; align: center; float: left; width: 200px;">
', template_show_month_grid('prev'), '
', template_show_month_grid('current'), '
', template_show_month_grid('next'), '
</div>
<div style="align: center;', $context['browser']['is_ie'] ? 'float: right; ' : 'margin-left: 220px; ', '">
', $context['view_week'] ? template_show_week_grid('main') : template_show_month_grid('main'), '
</div>


Code (Replace with) Select
', $context['view_week'] ? template_show_week_grid('main') : template_show_month_grid('main'), '

auroramae


Advertisement: