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
Calendar Script CommunityCustomizationPlugins (Moderators: scott, DanO, Marty)Calling calendar using SSI
Pages: [1]   Go Down
Print
Author Topic: Calling calendar using SSI  (Read 557 times)
0 Members and 1 Guest are viewing this topic.
MaleFingers
New Member
*

Karma: 0
Offline Offline

Posts: 0

Retired


WWW
« on: March 25, 2005, 04:53:00 PM »

Can someone explain to me in simple terms how to setup calling the calendar using ssi?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: March 25, 2005, 06:13:00 PM »

You can find several links dealing with SSI and CalendarScript in the 'Links' section of the Unofficial CalendarScript - Mods and Plugins site.

The one with probably the most susinct explanation is titled "Having trouble with SSI" but all have some information on the subject which is useful.

Dan O.


[This message has been edited by DanO (edited March 25, 2005).]

Logged
perfectfitweb
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: June 02, 2005, 07:25:00 AM »

I read through all the SSI posts you refer to here and tried the various forms of calls (exec cmd, exec cgi, include virtual, etc).  None of which worked.  So, I emailed my host and they said,
#exec is a command to execute and this is not supported on our servers. Please use

< !--#include file="value"-->

ir

< !--#include virtual="/folder/filename"-->

Well, of course I NEED the file to be executed, not just included.  Is there any work around for this?  I tried pasting the ssi_max_events template right in my home page, but it looks like it uses functions defined in calendar.pl.  It looks like I won't be able to have a list of upcoming events on my home page, but I thought I would just ask if there was any other way.

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: June 02, 2005, 10:56:00 AM »

** I NEED the file to be executed, not just included. **

The include SSI tag does execute the file on an Apache server. I don't know what type of server software your host is running though.

BTW. I hope this is not the exact tag you're using because it is incorrect!

< !--#include virtual="/folder/filename"-->

There should be no spaces in it. Eg.

<!--#include virtual="/folder/filename"-->


    To properly diagose SSI problems we need to know if the SSI tag being used is generating an error message and if not, if the SSI tag itself has been removed by the page's sourse code.

Dan O.

[This message has been edited by DanO (edited June 02, 2005).]

Logged
perfectfitweb
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: June 03, 2005, 11:29:00 AM »

My site is on Windows NT.  With both the include file and the include virtual, the browser displays all the raw code on the resulting page.  See http://64.37.124.168/family.shtm  

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: June 03, 2005, 12:35:00 PM »

** My site is on Windows NT. **

Well that's Windows? for you. Sorry I don't do Windows, you'll have to check with your host, move to a host using Apache server software or wait and hope someone else can offer a suggestion.  

You could display the SSI template inside an iframe tag on another page?

Dan O.

------------------

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