| View previous topic :: View next topic |
| Author |
Message |
Vapor023
Joined: 23 Jan 2006 Posts: 2 Location: San Mateo, CA
|
Posted: Mon Jan 23, 2006 Post subject: arrange all-day events |
|
|
I have 4 sub calendars which show different routes for different vehicles. All of which funnel into the primary calendar. How can I get the Primary calendar to show the 4 sub calendars in order?
http://www.onsitedental.com/proto/calendar/plans.cgi
I want each week to show like this:
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
Instead I get this:
1 2 1 3 2
2 3 3 1 1
3 1 2 2 3 |
|
| Back to top |
|
 |
ctolin
Joined: 08 Feb 2005 Posts: 89 Location: Frozen North of Alaska
|
Posted: Mon Jan 23, 2006 Post subject: Re: arrange all-day events |
|
|
| Vapor023 wrote: | I have 4 sub calendars which show different routes for different vehicles. All of which funnel into the primary calendar. How can I get the Primary calendar to show the 4 sub calendars in order?
http://www.onsitedental.com/proto/calendar/plans.cgi
I want each week to show like this:
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
Instead I get this:
1 2 1 3 2
2 3 3 1 1
3 1 2 2 3 |
You'll need to edit the plans_config.pl file:
| Code: | ########################################################################################################
############################### Selecting Multiple Calendars ##################################
########################################################################################################
# Each event in Plans is associated with a calendar.
# If this switch is 1, all calendars will always appear in the calendar controls dropdown.
#
# If this switch is 0, each calendar gets to choose what other calendars will be in the dropdown
# when it's the active calendar. This can be used to manage a large hierarchy of calendars, but it
# requires more oversight, especially when creating new calendars.
$options{all_calendars_selectable} = 1;
# If this variable is 1, new calendars will automatically be added to all existing
# calendars' drop-down selections at creation time.
# this option has no visible effect if $options{all_calendars_selectable} = 1.
$options{new_calendars_automatically_selectable} = 1;
# if $options{calendar_select_order} is blank (totally commented out), calendars will
# be listed on the dropdown menu in the order they were created.
# You can change this by setting $options{calendar_select_order} to "alpha" (sort alphabetically)
# or by explicitly ordering the calendars by id(you may have to look at the calendar data to find the id).
$options{calendar_select_order} = "alpha";
#$options{calendar_select_order} = "0,3,4,1,6,7,8"; |
I noticed the date on your calendar to be January 24, maybe this is due to your webhost? |
|
| Back to top |
|
 |
Vapor023
Joined: 23 Jan 2006 Posts: 2 Location: San Mateo, CA
|
Posted: Wed Jan 25, 2006 Post subject: |
|
|
| I tried using both the calendar_select_order = alpha and by CalID. None of which did what i needed it to do. it lists it just as I want in the pull down menu, but i need each specific da on the primary calendar to show the 4 calendar events from 4 different sub-calendars in the same order every time. |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1482
|
Posted: Fri Jan 27, 2006 Post subject: |
|
|
the calendar_select_order affects only the dropdown menu for selecting calendars - it doesn't have any effect on the event order.
A fix for the random ordering is in the next version, which should be released next week. Thanks for the detailed description of the problem.
- Lloyd |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1482
|
Posted: Tue Jan 31, 2006 Post subject: |
|
|
7.5.5 has been released - give it a try
- Lloyd |
|
| Back to top |
|
 |
|