Changing Appearance

How can I change the way the calendar looks?


Before you read on, watch this short video with some tips for working with the calendar in layout mode. It's a real time saver.

Changing Size.

The video above offered some tips about resizing elements of the calendar, but remember that there are two sets of layouts for you to use, including the "small" layouts (enter layout mode and look at the list of layouts to see these) optimized for 1024 x 768 screen resolution.

Configuration Settings: changing the rows per day.

Rows per Day on the Month tab.

You can change how many rows are visible for each day on the month; the calendar shows 6 by default and uses the first row to display the day number. To change the rows-per-day edit the script "Load Calendar Settings - Each Redraw" and change the month brach of the calc used to set the $$sc_RowsPerDay Variable, replacing "6" with the number of rows you'd like to see. Make this 1 more than the number of appts you'd like to see in a day since we use one row for the day number.
If your calendar month portal isn't set to show 6 times the number of rows per day, you won't see the whole month. So either increase the number of rows in the portal (and your layout size at the same time) or set the portal to scroll. See calendar tabs for info on editing the month tab of the calendar layout.
Once you've changed the number of actual portal rows on the layout, revisit the configuration script "Load Calendar Settings - On Startup..." and make sure this first variable ($$sc_LastRow) is the number of rows in your portal.

Showing a different number of rows on the day view.

If you want to make the portal rows on your day view taller (maybe you're adding fields or just want to see more than one line per event) you'll need to teach the calendar that there are a different number of rows on the day portal than on the others.
To do this, edit the second SetVariable declaration in the script "Load Calendar Settings - Each Redraw" and edit the case statement so that you use your own number on the day view.

Can I add more fields to the day view?

Sure. Read adding fields for notes on how to add fields from your events table or from related tables.

Another nice modification is to change the row height on the day view so you can show more than one line per event. Be sure to watch the video mentioned above to get a feel for the stacked objects in this portal, then change the rows per day as described above to reflect the number of rows in your new portal.

How can I change the default view of the calendar?

Each "view" of the calendar is a separate tab on the same layout. So all you need to do is designate a new default tab. Learn more here: calendar tabs

I'd like to add a scroll bar to the calendar, or see more rows per day on the month view.

No problem: both things are easily done. Learn more here: scrolling the calendar

[email protected]
Follow us: