Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
arrange all-day events

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Questions
View previous topic :: View next topic  
Author Message
Vapor023



Joined: 23 Jan 2006
Posts: 2
Location: San Mateo, CA

PostPosted: Mon Jan 23, 2006    Post subject: arrange all-day events Reply with quote

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
View user's profile Send private message
ctolin



Joined: 08 Feb 2005
Posts: 89
Location: Frozen North of Alaska

PostPosted: Mon Jan 23, 2006    Post subject: Re: arrange all-day events Reply with quote

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
View user's profile Send private message
Vapor023



Joined: 23 Jan 2006
Posts: 2
Location: San Mateo, CA

PostPosted: Wed Jan 25, 2006    Post subject: Reply with quote

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
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1482

PostPosted: Fri Jan 27, 2006    Post subject: Reply with quote

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
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1482

PostPosted: Tue Jan 31, 2006    Post subject: Reply with quote

7.5.5 has been released - give it a try Very Happy

- Lloyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net