| General Support Questions about using the Easy PHP Calendar. (Not installation or customizations) |
 |
PHPNuke |
 |
10-17-2004, 11:40 AM
|
#1
|
|
Calendar User
crahier is offline
Join Date: Aug 2004
Posts: 8
|
PHPNuke
Hi,
Is it possible to use this Calendar with PHPNuke ?
Thanks,
Christophe
|
|
|
|
10-17-2004, 11:49 AM
|
#2
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
|
I have used it with an older version of PHP Nuke and I've heard of some others using it successfully with the latest version. However, I don't have any instructions on how to do so. But as long as you can edit the page header to include the required code, you should have no problems.
If anyone does have specific instructions on how to do this, please post them in the forum.
|
|
|
|
10-17-2004, 12:06 PM
|
#3
|
|
Calendar User
crahier is offline
Join Date: Aug 2004
Posts: 8
|
First, sorry for my poor English !
I think I found the solution
In fact, I installed PHPNuke 7.4 and I use Easily Simple Calendar 5.5.
So, I created a directory in the PHPNuke "modules" directory and copy all files from the calendar.
After that, I created a file "index.php" that I put in the Calendar directory.
I attach you the index.php.
Don't forget to create in the Calenar directory an other directory called "language" (as each PHPNuke module).
Now, you can configure the calendar as you do it normally.
I hope it's clear !
Regards, Christophe
|
|
|
|
10-17-2004, 09:26 PM
|
#4
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
|
Great! Thanks! I hope this helps someone in the future.
|
|
|
|
10-18-2004, 10:24 AM
|
#5
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
I use it with PostNuke, but instead of having it in a seperate page or section, it's in a block. Like Brian said, you just need to modify the header calls so that it includes what ESCal requires (the CSS definition) and then just create a PHP block with the two other calls that are required. Easy as pie!
http://www.albert-tech.com/
Now this is just a test site and all content is bogus.
|
|
|
|
10-18-2004, 10:42 AM
|
#6
|
|
Calendar User
crahier is offline
Join Date: Aug 2004
Posts: 8
|
Quote:
|
Originally Posted by ve9gra
I use it with PostNuke, but instead of having it in a seperate page or section, it's in a block. Like Brian said, you just need to modify the header calls so that it includes what ESCal requires (the CSS definition) and then just create a PHP block with the two other calls that are required. Easy as pie!
http://www.albert-tech.com/
Now this is just a test site and all content is bogus.
|
Very nice !
My friend didn't want to have this calendar in a block, just a module.
Many thanks !
Christophe
|
|
|
|
10-18-2004, 03:40 PM
|
#7
|
|
Calendar User
Jesina is offline
Join Date: Oct 2004
Location: Richmond, VA, USA
Posts: 5
|
I, too, am trying to put it in a block for PHPNuke. However, I'm having issues. :\ I have tried to alter the code from showCalendar.php in order to put that pages code into the block, but I only end up with seeing code instead of the calendar.
From what I have read above, I presume that I need to change that code so that the stylesheet is linked correctly. (I'm unfamiliar with the term 'calls' but I'm guessing that is what it means.) Yet in doing so (I have tried putting before each 'link' /escal/ (where it is installed), escal/, ../, ../escal/ but none of these are having any affect.
I am at a loss as to why the code instead of the calendar is showing up. If you have any suggestions I would be very grateful!
|
|
|
|
10-18-2004, 07:04 PM
|
#8
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
I think you got it a bit wrong here...
The "calls" I'm refering to are the "require("showCalendar.php");" lines as described in instructions.htm and as used in demo.php.
There are a minimum of two calls required for getting ESCal to display, the first one for the style sheet (.css) and one more to get the calendar to display. A third one, for if you want to use overLib, is optional - but if provided it has to be called before the one calling the calendar.
If you want help with this, you will have to provide me with FTP access to your server as well as an administrator account on your PHPNuke site. Please PM me if you'd like my help.
Gervais
|
|
|
|
10-22-2004, 01:31 PM
|
#9
|
|
Calendar User
Jesina is offline
Join Date: Oct 2004
Location: Richmond, VA, USA
Posts: 5
|
Ok... I had the wrong thing.  I'll try to tinker with it first myself - thank you though! I'm the kind to try to learn to fish instead of being handed one.  If I come up against any more walls I'll be sure to ask for help and set you up like you had asked!
Edit: Ok, I give up. After a few hours of setting the calls in the CSS and display and it still not working..... I will pm you the data you requested. Thank you for your assistance.
Last edited by Jesina; 10-22-2004 at 03:21 PM.
|
|
|
|
10-22-2004, 04:53 PM
|
#10
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
No problem at all!  I will look at it as soon as I get the info
|
|
|
|
 |
Ummm.... huh? |
 |
12-08-2004, 12:33 AM
|
#11
|
|
Calendar User
godrox is offline
Join Date: Sep 2004
Posts: 5
|
Ummm.... huh?
Okay, I don't mean to sound ignorant here, but I have no idea what this means:
Quote:
|
you just need to modify the header calls so that it includes what ESCal requires (the CSS definition) and then just create a PHP block with the two other calls that are required.
|
I followed the instructions given by crahier and have the calendar showing as a module, but I would like to configure it as a block. So far I assume that the new block I create needs to require
<?php $CSS=1; require ("escal/showCalendar.php"); ?>
and
<?php $OL=1; require ("escal/showCalendar.php"); ?>
in the "Content" field (with my edited path, of course). Is that correct? You guys have a clearer tutorial on how to do this?
|
|
|
|
12-08-2004, 05:56 AM
|
#12
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
As a matter of fact, we do... as of two days ago
A brand new FAQ I've put together after helping Jesina doing that exact thing...
Have a look at http://www.easilysimplecalendar.com/...ead.php?t=2773
If you need any help with this, please let me know.
Gervais
|
|
|
|
 |
Almost there |
 |
12-08-2004, 10:18 AM
|
#13
|
|
Calendar User
godrox is offline
Join Date: Sep 2004
Posts: 5
|
Almost there
Thanks for the FAQ tutorial! That helped a lot. However, I'm still not quite there. Maybe it's because I'm using PHP-Nuke 7.5, but I don't have a directory "custom_files" inside my "includes" directory. So, I created one and put custom_head inside both custom_files and includes. I think this must be my problem because the calendar shows up in the block but it's all text. Apparently the CSS isn't applied to it yet. I messed around with it for a while, but didn't get anything to work. Any ideas?
P.S. Also kinda confused what you meant by taking the <?php ?> tags out of the block-calendar.php file. I kept 'em in since I didn't see how the file would work without 'em. I tried it once without the tags just to see and got all the code text showing up above the block with no calendar.
A little more help and I think I'm there! Thanks for your time!
|
|
|
|
12-10-2004, 06:54 AM
|
#14
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
|
For the <head> section, the file structure has changed between 7.5 and 7.6... For version 7.5, add that code to /includes/my_header.php - don't overwrite the file, make sure to edit it instead. There's already code in that file that has to stay there.
For the <?php ?> tags, that's only for a PostNuke install. Because PostNuke has a system in place to create PHP code blocks on the fly, you have to make sure not to include those tags in there because it will just mess up with the interpreter. For PHP-Nuke, since you have to create your own block file, those tags have to be included for it to work.
Hope this helps.
|
|
|
|
12-12-2004, 11:07 PM
|
#15
|
|
Calendar User
godrox is offline
Join Date: Sep 2004
Posts: 5
|
Yeah, thanks! Unfortunately I had to put this on hold for a second due to other year-end responsibilities. Thanks for your suggestion and I'll try it out soon as I can and yet ya know how it turns out.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:57 PM.
|