Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: SSI mod?  (Read 325 times)
0 Members and 1 Guest are viewing this topic.
runninghorse
Guest
« on: August 22, 2003, 09:49:00 AM »

Hi there,

I'd like to download the mod to include a list of most recent events (or "this weeks" events) on the index page of my website, but don't know where to find it.  Please, someone, point me in the right direction.  Thank you.

RH

Logged
eladyar
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: August 22, 2003, 10:50:00 AM »

       
quote:
runninghorse wrote:

I'd like to download the mod to include a list of most recent events (or "this weeks" events) on the index page of my website, but don't know where to find it. Please, someone, point me in the right direction.


You don't need a mod to do this. Once your calendar is running correctly you can include events on another page using:

code:

<!--#include virtual="/cgi-bin/calendar.pl?duration=10d&template=ssi.html&calendar=metacal" -->

As you can see you can specify the duration, template, and calendar. Make sure the path is correct to CalendarScript.

Look at:

http://www.calendarscript.com/support/forum/Forum4/HTML/000466.html

for a link to some sample ssi.html files. These show different ways to format the included event list.

Also check out
http://www.much2.com/calendarscript/index.html

at the bottom of the page there are links to a number of topics in this forum about using SSI to display your events.

Remember the page you use the server side include directive in has to be allowed by the server to process SSI. Usually this means that the file extension will be .shtml, instead of .html.

You might want to read section 9.1 of the documentation, it deals with displaying the events using SSI.

------------------
Dale Ray http://www.sscsoftball.org</A>

[This message has been edited by eladyar (edited August 22, 2003).]

Logged

Jason S
New Member
*

Karma: 0
Offline Offline

Posts: 3


WWW
« Reply #2 on: August 27, 2003, 02:37:00 PM »

If you just want to display the next x number of days you can fix the calendar.pl file as described in http://www.calendarscript.com/support/forum/Forum2/HTML/000638.html  and then use the SSI as described in the documentation for calendar script.

Jason

[This message has been edited by Jason S (edited August 27, 2003).]

Logged
Pages: [1]   Go Up
Print
Jump to: