View Full Version : Getting Calendar to work with PHP-Nuke 7.8
08-29-2005, 07:39 PM
very interested in getting this to work with our php-nuke v7.8 site. very impressed with it standalone and want to intergrate with both the homepage and as a block module. I've seen it done on some sites.
Any information would be great.
08-29-2005, 10:19 PM
ve9gra is the resident PHPNuke guru. Hopefully he'll be able to help on his next visit to the forums.
08-30-2005, 08:11 AM
I would have to say that the easiest way for me to help you, is for you to tell me what's wrong. I know that the FAQ is based on v7.3, but the logic is still there and should work.
I'll try to list the changes that should be taken in consideration if you're following the FAQ.
1- replace all "escal/showCalendar.php" by "calendar/calendar.php"
2-instead of creating the file /includes/custom_files/custom_head.php, only insert the following lines in /includes/my_header.php// Custom head section to include the ESCal CSS
$CSS=1; require ("calendar/calendar.php");
3-in the file /blocks/block-Calendar.php, do same as #1
If you are still having problems after this, please let me know and I will try to get you going on the right track.
08-30-2005, 10:15 PM
You are very aptly named 'guru' by Brian. I've gotten the calendar block to function (which prompted me to immediately purchase the product).
Now onto the fun stuff.
First off, the block calendar is static. No color coding, no pop ups, etc.
Second, when I click any of the lower buttons << -=- >> I receive 'sorry, such file doesn't exist'.
Three, I assume that there is a module page that needs to be built now if I wanted to use the larger calendar and link it to the home page.
For all the above issues I've mentioned, I've referred to http://www.savebigo.com/savebigo/index.php
Nice tight example of how to use this calendar in a php-nuke site (I smell tutorial).
Point me in the right directions and I'll start modding. PHP hasn't been my fortay, but I'm learning.
08-30-2005, 10:28 PM
Ok, would help if I actually went through and re-setup calendar after purchasing the license.
Got pop ups to work. colors are way off compared to the theme, but I can work on that.
Calendar color coding still not there, so you randomly mouse over things until an event pops up. Another color (theme) issue? I'll look into that as well.
Thats it for now. Thanks for all the help.
08-31-2005, 07:39 AM
From what I can see from the link you gave, not only are you using an old version, but it seems that it is a ported version. As such we cannot support this installation. I recommend that you at least download the latest release of v5. But in order for the calendar to do what is currently displayed here, you'll need to get v6.
If (let's hope) that you're preparing a new site out of the public view, and you actually have v6. If you are, please point me to the "hidden" view and then we'll go from there. I'm led to beleive that you're actually in situation 2 because you're saying that the theme isn't applied... and after looking at your site, I think I know exactly why.
08-31-2005, 08:06 AM
I guess I should have been more explainative. The link to savebigo.com is not my site. It is a site that I found referenced in another forum and simply would like to get my calendar to look that way in appearance and functionality. They did an extememly good job. My site is located at www.pclanguy.com/theragingsun (http://www.pclanguy.com/theragingsun)
There is one event scheduled on the 31st (notice no color coding on the calendar). The popup works (I understand the block is black with no item text. As of writing this I have not changed the font text color yet, but I know it's there).
Sorry for the confusion.
If you want to send me an email, I can reply with userid / pass for the admin / event side of the system.
08-31-2005, 08:43 AM
Ok, now I understand better.. But at the moment, it would seem that there is a problem with your site as I'm only getting a fatal error when trying that link. I can access the /calendar installation and it does come up properly.
Let me know when your site will be fixed and I'll gladly give you a hand.
08-31-2005, 09:34 AM
My apologies. My last patch update to 7.8 didn't fully take. I needed to repatch (which is why the site was down). The site is back up again.
08-31-2005, 11:30 AM
Site is back up, but it looks like you've lost all configuration, including the calendar block. Once you have the block setup again, I'll take a look at why the theme is not coming up.
If you want me to have access to the backend, it would be useful to have the login/password for the calendar, PHPNuke and FTP account (required to setup the block properly). I could also look into setting it up as a module so that you could use the TOC. You can send the info to ve9graATgmailDOTcom. I don't check that email regularly, but I'll keep any eye on it in case you send your info.
ve9gra, you're right, it is a port so it works with Nuke a bit more easily and hooks into the admin functions.
I have no objection to sharing what I did, BUT I will only share the port with registered users because Brian et al have worked very hard on this--and obviously, if someone uses the port, it's not going to take upgrades unless I get off my butt and upgrade it, nor will it be supported. ;)
I'll send it to you if you like, just send a gmail to mszola and I'll get it all zipped up.
08-31-2005, 02:58 PM
Thank you both so much. I have reconfigured the site and done some work on it. The calendar block is active again, but have not made modifications to it as I've been getting the rest of the site ready and waiting for input from both of you. I will send out emails. thanks.
08-31-2005, 06:51 PM
I've replied to your email.
09-01-2005, 09:01 AM
Well all is setup now.... We have a nicely displayed calendar on the front page, and then the calendar links to a TOC that's a module.
If you still have the original archive for PHPNuke 7.8, could you please attach the file header.php to your reply. I'd like to see the original condition of that file, as it seems they've completely broken the way to include custom head statements in 7.8, and for some reason, went back to the old way (like it was when I first did the tutorial using v7.3) with version 7.7.
Once I figure out what they're doing and where they're aiming at for this, I'll release my PHPNuke module and the block, and any special instructions to setup the calendar properly.
09-03-2005, 02:27 PM
I'm having the same problems pretty much. I don't have a my_header.php file (I don't know why really) but basically I would like the same calendar that pclanguy and zora have. It shows up as static right now... is that what will happen w/ the trial version??? www.nexrevolution.com is my site, the block is in the bottom left and I will post my files if necessary. Thanks guys!
09-03-2005, 09:18 PM
Do you also have v7.8? Seems they have broken the custom head implementation in that version. If you have v7.7, last time I've checked, they reverted to the way that they had previously, which was creating a file in /includes/custom_files/ named "custom_head.php". And in that file, you need to have the <?php ?> tags.
Let me know if that helped.
09-05-2005, 02:31 PM
I had the php tags, just missed that one "show" to delete.
09-05-2005, 02:31 PM
Thanks I really appriciate the help, and I have v 7.6, not 7.8 sorry I forgot to post that earlier...
09-05-2005, 08:40 PM
Looking good... Nice integration.
07-19-2006, 07:40 AM
i have been also having this problem
i am using nuke 7.8
i have got the custom_head.php with all of that
but i am only getting text with no style or anything
my url is
07-19-2006, 08:12 PM
I see that the file is working, but you don't have the right thing in there. You currently have a full URL that's invalid. The best way is to have a real filesystem path. As far as I can tell, you should use the default path which is "calendar/calendar.php".
If you need help, you can contact me using the link in my signature.
11-16-2006, 09:14 PM
i was thinking about buying php nuke 8
will the module and block work the same in this version?
11-17-2006, 01:30 PM
Unless the Nuke team has changed the way that modules and blocks are made, it should work. If v7.x modules are compatible with v8, there should be no problems.
If you do run into problems though, we should be able to figure it out if we can get access to your installation (or at least access to PHP-Nuke8).
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.