Setting Up a Template Calendar Page

Some Allwebco templates have a calendar page included. This page will be in your main template folder and will be named "calendar.htm".

Editing the page:
Edit the calendar.htm like any other template HTML page and add your events for each date by the date number.

The small calendar:
The small calendar includes anchor links to each date. Click on any date on the calendar to move down on the "calendar.htm" to a specific date.



When you archive old calendar pages or include future month pages this small calendar can be left on all template pages. It will link to the correct current month date on the "calendar.htm". If you rename the "calendar.htm" you should edit this link variable named "CalendarLink" near the top of the "calendar.js".

The calendar.js:
The calendar.js does not need to be edited unless you rename the current month "calendar.htm" page.

Adding or archiving calendar pages:
To add a future calendar page, or to archive an old calendar page: open your website folder, make a copy of the "calendar.htm" page. Rename it for example: "calendar-10-06.htm" for October 2006. Link to this archived page in the "calendar.htm". Sample links are included on this page that you can edit.


The small calendar anchor links:
Anchor links are links that navigate areas of a page rather then linking to other pages. The anchor links in the template calendar page link to the "calendar.htm" first, then to the anchor link for the date selected. If your anchor links are not working you may have deleted some of the code. Below is the code for an anchor link for the date 2 in your calendar.htm:

<a name="2"></a>

If the anchor links are not working also see "The small calendar" above on this page.

Allwebco Template Support


Allwebco Website Template Support


See Also...
Scripts & Add-ons