Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

SSI with PHP
Old 01-01-2011, 09:10 PM   #1
kgreen
Calendar User
 
kgreen is offline
Join Date: Dec 2010
Location: Florida
Posts: 13
Default SSI with PHP

how do i get my ssi side and footer links on the calendar page? this is what I have: http://www.fountainsoflivingwater.co...stcalendar.php

this is what i want:
http://www.fountainsoflivingwater.com/events.shtml (side links/footer links)

and if that's not possible what's the alternative?

thanks.
 

Old 01-01-2011, 09:39 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

If you want to use the .php extension, you'll have to convert from using SSI includes to PHP includes... as PHP doesn't understand anything about <!--#include -->

Another way is to configure Apache to parse for PHP inside of .shtml files.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-02-2011, 09:48 AM   #3
kgreen
Calendar User
 
kgreen is offline
Join Date: Dec 2010
Location: Florida
Posts: 13
Default

Quote:
Originally Posted by ve9gra View Post
If you want to use the .php extension, you'll have to convert from using SSI includes to PHP includes... as PHP doesn't understand anything about <!--#include -->

Another way is to configure Apache to parse for PHP inside of .shtml files.
if i convert to .php, wont all my pages have to be renamed .php ? also, i found this:

"... you need to make sure your configuration file (httpd.conf) or per-directory override file (.htaccess) contains the following directives:
Options +Includes
AddOutputFilter INCLUDES .php "

is that the proper way to configure apache and php? thanks.
 

Old 01-02-2011, 01:23 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You're already using .php on that test page. Since PHP doesn't understand the <!--#include --> command, you'll need to switch to the <?php include() ?> function.

There's probably more than one way to configure Apache, but if you want to have PHP code parsed inside of .shtml, what you found won't work. That would be to configure Apache to parse for SSI includes inside of PHP pages.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 01-02-2011, 04:53 PM   #5
kgreen
Calendar User
 
kgreen is offline
Join Date: Dec 2010
Location: Florida
Posts: 13
Default

Quote:
Originally Posted by ve9gra View Post
You're already using .php on that test page. Since PHP doesn't understand the <!--#include --> command, you'll need to switch to the <?php include() ?> function.
i tried to use the above function but it didn't work. i'm missing something somewhere but not sure what and where. how do i convert my ssi files that are all .inc so they work with both .php and .shtml? thank.

kristin
 

Old 01-04-2011, 07:26 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

This is out of the scope of support that we can provide here. I can only tell you that to use the calendar, you'll need to either use PHP straight up, or to somehow configure your server to parse for PHP inside of your .shtml files.

Once you've got that figured out, then we can help you setup your calendar.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have messed up PHP dbrugge General Support 4 05-24-2010 11:49 AM
PHP Errors anthony General Support 2 02-07-2005 01:10 PM
What if my host refuses PHP loadable extensions (ioncube)? gmckenzi General Support 4 09-02-2004 04:52 PM
Adding the calander to a existing php page cyberchick General Support 7 01-28-2004 04:11 AM
{Fixed} Problem adding an event ucb General Support 23 11-19-2003 06:31 PM



All times are GMT -4. The time now is 07:42 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |