shketuljko
05-13-2008, 12:25 PM
You can start with Saturday as first day in your calendar.
Open VIVVO_ROOT/lib/vivvo/box/vivvo_box.php and try to find this code
(around 654 line):
$day_of_week = date ('w', mktime(0, 0, 0, $month, 1, $year));
replace that code with this:
$day_of_week = date ('w', mktime(0, 0, 0, $month, 2, $year));
After that you need to reorder
day of week in
VIVVO_ROOT/VIVVO_TEMPLATE_DIR/system/box_default/box_calendar.tpl
Just replace this code:
<td><strong><vte:value select="{LNG_SU}" /></strong></td>
<td><strong><vte:value select="{LNG_MO}" /></strong></td>
<td><strong><vte:value select="{LNG_TU}" /></strong></td>
<td><strong><vte:value select="{LNG_WE}" /></strong></td>
<td><strong><vte:value select="{LNG_TH}" /></strong></td>
<td><strong><vte:value select="{LNG_FR}" /></strong></td>
<td><strong><vte:value select="{LNG_SA}" /></strong></td>
with this:
<td><strong><vte:value select="{LNG_SA}" /></strong></td>
<td><strong><vte:value select="{LNG_SU}" /></strong></td>
<td><strong><vte:value select="{LNG_MO}" /></strong></td>
<td><strong><vte:value select="{LNG_TU}" /></strong></td>
<td><strong><vte:value select="{LNG_WE}" /></strong></td>
<td><strong><vte:value select="{LNG_TH}" /></strong></td>
<td><strong><vte:value select="{LNG_FR}" /></strong></td>
Open VIVVO_ROOT/lib/vivvo/box/vivvo_box.php and try to find this code
(around 654 line):
$day_of_week = date ('w', mktime(0, 0, 0, $month, 1, $year));
replace that code with this:
$day_of_week = date ('w', mktime(0, 0, 0, $month, 2, $year));
After that you need to reorder
day of week in
VIVVO_ROOT/VIVVO_TEMPLATE_DIR/system/box_default/box_calendar.tpl
Just replace this code:
<td><strong><vte:value select="{LNG_SU}" /></strong></td>
<td><strong><vte:value select="{LNG_MO}" /></strong></td>
<td><strong><vte:value select="{LNG_TU}" /></strong></td>
<td><strong><vte:value select="{LNG_WE}" /></strong></td>
<td><strong><vte:value select="{LNG_TH}" /></strong></td>
<td><strong><vte:value select="{LNG_FR}" /></strong></td>
<td><strong><vte:value select="{LNG_SA}" /></strong></td>
with this:
<td><strong><vte:value select="{LNG_SA}" /></strong></td>
<td><strong><vte:value select="{LNG_SU}" /></strong></td>
<td><strong><vte:value select="{LNG_MO}" /></strong></td>
<td><strong><vte:value select="{LNG_TU}" /></strong></td>
<td><strong><vte:value select="{LNG_WE}" /></strong></td>
<td><strong><vte:value select="{LNG_TH}" /></strong></td>
<td><strong><vte:value select="{LNG_FR}" /></strong></td>