Previous Topic

Next Topic

Book Contents

Book Index

Server Side Includes

Server Side Includes of OutputCurrentWeek

The servlet OutputCurrentWeek allows you to incorporate the calendar directly into your HTML. In order to do this, your web server must support server side includes. If you are not sure if your web server does this, ask your system administrator. The line below shows how to insert the calendar for the current week into a page:

<!-- #include virtual="calendar/OutputCurrentWeek.html?calendar_id=3"
-->

Additional arguments unique to OutputCurrentWeek are week= and year=. Year must be present if week is specified.

Using JSP to Customize Appearance

In the cdaily-3.4.2/WEB-INF/misc/samples/ASP directory are sample ASP and JSP pages that demonstrate creating a fully customized calendar display. You can customize these JSP pages and then use a server side includes to bring them into your web page.

Note

Server Side Includes do not work with Microsoft IIS. This is because the server side includes mechanism does not submit the request through the complete chain but bypasses the ISAPI re-director.

The cdaily-3.4.2/WEB-INF/misc/samples/ASP directory contains sample ASP scripts that work around this issue.

See Also

Customizing Calendar Appearance

Customizing Appearance Overview

Display calendar in an IFRAME

Custom Headers and Footers

Display calendars in a frame

Allowing the Public to Add Events

Ajax Integration of Connect Daily

TARGET=_BLANK HREF to Open New Window

Cascading Style Sheets

Setting Different Colors for Events

Customizing Icons

Customizing Event Display and Mouse-overs

Calendar Display Options

Disabling Features

Site Help

Change Colors Screen

Edit Custom Header