All day events

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 50
Joined: Mon Dec 21, 2009 8:45 am
PostPosted: Mon Aug 23, 2010 5:36 pm
My current installation of SCP will only involve all day events.

What is the best way so that when an event is created it is always an all day event?

We'll likely only use week and month views. In the week view you can drag the divider bar between displaying all day events and the time scale. Can this be set and locked so that it always displays the full day events only?
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Aug 24, 2010 6:25 am
You can change the number of rows showing for all day events in the script "Load Calendar Settings - On Startup --- Edit Configuration Here ---".

You'll see a comment "How many rows should be used to show All-Day events on Day, Week, and Schedule screens?" and can set the following value to the number of rows in the calendar--currently 36-- or to one less than that (you'll have to see which works best for you).

More useful may be to change the setting a bit further down in the same script: to only "Use Simple Views". These views don't try to place an event at a certain time and are faster than our other views.

Run the "Upon Opening" script after any changes to the configuration script to see your changes take effect.

As far as preventing times being entered, I'd just remove the time start and time end fields from the Event Detail layout.
John Sindelar
SeedCode
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Aug 24, 2010 6:30 am
By the way, if you really only have all day events, you can speed things up a bit by removing our code that searches for timestamp ranges (I'd actually just disable it, in case you client changes their mind).

You can find this in the script "Write FileMaker Source to Variable". Disable everything from the comment "Timed Events (search using timestamps)" to the comment "Find". If you don't have FileMaker Advanced you can disable this by wrapping it all in an IF statement like if ( 1=0 ).
John Sindelar
SeedCode
Posts: 50
Joined: Mon Dec 21, 2009 8:45 am
PostPosted: Tue Aug 24, 2010 7:55 am
Thanks John. Will give that a shot today.

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 4 guests

cron
(855) SEEDCODE
[email protected]
Follow us: