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


Go Back   Easy PHP Calendar > Integration > Wordpress

Wordpress Information about integrating the calendar with the Wordpress Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

where to install calendar if WP install is not in root directory?
Old 08-11-2009, 05:35 PM   #1
lauras2009
Calendar User
 
lauras2009 is offline
Join Date: Jul 2009
Posts: 16
Default where to install calendar if WP install is not in root directory?

Hello,

I am trying to install the calendar into WordPress on my local machine. My WP install is two levels down from the server root directory, i.e., /wordpress/JCDS/ .

Where should I put the calendar so that it will work?

I am assuming that the code that goes into the header.php file will have to be adjusted accordingly (depending on where the calendar directory goes).

Similarly, if I want to create a WordPress "page" that calls the calendar (I do not want to put it in the sidebar), do I just create a page and use this code (again, adjusted for wherever the calendar directory will go)?

<?php require("calendar/calendar.php"); ?>

?

Thank you very much,
Laura S.
 

Old 08-12-2009, 01:07 AM   #2
lauras2009
Calendar User
 
lauras2009 is offline
Join Date: Jul 2009
Posts: 16
Default

I played around with it and figured it out. I started with the whole path:
/root/next-dir/next-dir2/next-etc/etc/ and then tried deleting the first slash / and reloading the page, and then deleting /root, and reloading the page, and then deleting /root/, and reloading, and then deleting /root/next-dir, reloading, etc.

Trial and error finally worked and I figured out the right path.
 

Old 08-12-2009, 05:30 PM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Sorry for my delay to respond... Have a look at the tutorial on how to install EPC in WP Part 1 and Part 2.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Tags
calendar, install, root, root directory, server root

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
ionCube error when calendar used outside install directory pixeldrift General Support 1 07-17-2008 09:07 PM
Changing Directory Install crlannen General 1 02-11-2008 10:11 AM
accessing the calendar from another directory/ broke the popups Cappiels General Support 4 12-05-2006 11:04 PM
Install errors, but calendar works? Roo Installation / Upgrade Questions 1 10-23-2006 10:16 PM
No XML file in EasyPHP Calendar! can't install in Mambo aliweb Mambo/Joomla Integration 1 05-02-2006 11:41 AM



All times are GMT -4. The time now is 02:11 PM.


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 |