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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

PHPNuke
Old 10-17-2004, 11:40 AM   #1
crahier
Calendar User
 
crahier is offline
Join Date: Aug 2004
Posts: 8
Default PHPNuke

Hi,

Is it possible to use this Calendar with PHPNuke ?

Thanks,

Christophe
 

Old 10-17-2004, 11:49 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

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.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 10-17-2004, 12:06 PM   #3
crahier
Calendar User
 
crahier is offline
Join Date: Aug 2004
Posts: 8
Smile

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
Attached Files
File Type: txt index.php.txt (599 Bytes, 713 views)
 

Old 10-17-2004, 09:26 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Great! Thanks! I hope this helps someone in the future.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 10-18-2004, 10:24 AM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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.
 

Old 10-18-2004, 10:42 AM   #6
crahier
Calendar User
 
crahier is offline
Join Date: Aug 2004
Posts: 8
Default

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
 

Old 10-18-2004, 03:40 PM   #7
Jesina
Calendar User
 
Jesina is offline
Join Date: Oct 2004
Location: Richmond, VA, USA
Posts: 5
Default

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!
 

Old 10-18-2004, 07:04 PM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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
 

Old 10-22-2004, 01:31 PM   #9
Jesina
Calendar User
 
Jesina is offline
Join Date: Oct 2004
Location: Richmond, VA, USA
Posts: 5
Default

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.
 

Old 10-22-2004, 04:53 PM   #10
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

No problem at all! I will look at it as soon as I get the info

 

Ummm.... huh?
Old 12-08-2004, 12:33 AM   #11
godrox
Calendar User
 
godrox is offline
Join Date: Sep 2004
Posts: 5
Default 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?
 

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

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
Old 12-08-2004, 10:18 AM   #13
godrox
Calendar User
 
godrox is offline
Join Date: Sep 2004
Posts: 5
Default 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!
 

Old 12-10-2004, 06:54 AM   #14
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

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.
 

Old 12-12-2004, 11:07 PM   #15
godrox
Calendar User
 
godrox is offline
Join Date: Sep 2004
Posts: 5
Default

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.
 
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
PHPNuke / Postnuke block integration ve9gra PHP-Nuke Integration 10 07-08-2005 07:51 AM
Scalar Value in PHPnuke alakon General Support 1 04-05-2003 07:56 AM



All times are GMT -4. The time now is 06:57 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 |