SMF Development > Fixed or Bogus Bugs
Calendar setting missing in admin
(1/1)
TheEnemy42:
The online doc page for calendar administration states that one of the settings you can change is: "Show week numbers - Show which week it is. "
However the setting is nowhere to be found:
By searching the forum it seems there's a workaround to fix it but if it's supposed to be there it's really a bug, no? The doc page could do with some updating too as it refers to several other settings not present - or there are more bugs present. We're running SMF 2.0.2 and got no modifications installed.
My reason for wanting to disable week numbers is the age old problem that SMF only supports the American week numbers which are a bit useless to others.
andershz:
Seems like that manual page is outdated.
Several of the settings claimed to be in that admin panel are actually hard coded:
--- Code: ---// Load all the context information needed to show the calendar grid.
$calendarOptions = array(
'start_day' => !empty($options['calendar_start_day']) ? $options['calendar_start_day'] : 0,
'show_birthdays' => in_array($modSettings['cal_showbdays'], array(1, 2)),
'show_events' => in_array($modSettings['cal_showevents'], array(1, 2)),
'show_holidays' => in_array($modSettings['cal_showholidays'], array(1, 2)),
'show_week_num' => true,
'short_day_titles' => false,
'show_next_prev' => true,
'show_week_links' => true,
'size' => 'large',
);
--- End code ---
Regarding unamerican week numbers, see http://www.simplemachines.org/community/index.php?topic=473813.0
emanuele:
Regarding the week numbers and (probably) why so many settings are hard-coded:
http://dev.simplemachines.org/mantis/view.php?id=3475
So it's a bug in the documentation...
Thanks for the report! :)
AngelinaBelle:
Was this setting available in SMF 1.1? Or was this only in some intermediate phase of SMF 2.0 development?
Doctor Deejay:
Yep, it's available in SMF 1.1. :)
Navigation
[0] Message Index
Go to full version