View Full Version : PostNuke Integration
01-25-2007, 10:21 AM
I've installed the calendar. I have laready looked at the thread:
Still having problems.
I have installed the database and have it working in standalone.
I am trying to integrate it into my Post nuke site. I've got is partially working:
The problem is that it is text only, no links, colors...etc.
I know it's the CSS is not being included.
Here's what I did. I took the demo.php and put the PostNuke Header and Footer in. Next I went into my theme and added the code:
$CSS=1; require ("calendar/calendar.php");
This did not work. I also tried a different path because the template is burried in themes/<theme name>/templates directory
$CSS=1; require ("../../../calendar/calendar.php");
Still did not work.
I have attached the sample code.
01-25-2007, 09:49 PM
That's not quite the recommended way to integrate the calendar in Postnuke...
I'm currently putting together a module and instructions for how to do it properly. Normally, this would be ready by tomorrow, but I will be performing a major upgrade of our Exchange infrastructure at work and won't be able to get back to this until later in the weekend.
I hope this is not too much of an inconvenience to you. Please post back here so that I'm reminded about this ;)
Trust me, this way will make things much easier :)
01-26-2007, 08:34 AM
I did it this way because it was a quick way to see how the calendar worked in the PostNuke environment. I put "the demo code" in its own page surrounded by the PostNuke Header and Footer.
I look forward to your "module". 8-)
01-29-2007, 10:37 AM
Reminder about PostNuke integration module.
01-30-2007, 11:15 PM
Hi Jerry, don't worry, I haven't forgotten about it, I've just run into some snags. In order to make things easier for integration in various themes, I'm trying to make Smarty/Xanthia plugins so that the proper code can be inserted at the appropriate locations. But since Xanthia is a templating engine, it mangles some of the output, so I'm working around that at the moment. I'm also away on training for the rest of the week and actually brought my development machine along with me so that I can keep working on this.
I will let you know as soon as I have more details. Also, once the module is ready for release, it will be pinned to the top of this forum, so that everybody can find it easily and download it.
02-06-2007, 07:07 PM
Reminder about module you mentioned last week.
How's it going?
02-08-2007, 09:53 PM
Hi Jerry, I'm still troubleshooting why all the variables don't show up... The calendar can be put in, but the event marking is not working and the overLib variables don't get initialized either.
Still working on it :computer:
02-23-2007, 12:05 AM
Touching Base. How is it coming???
Would really like to integrate it into PostNuke
02-23-2007, 06:45 AM
I've been much more busy than usual so I haven't had time to complete this. I can give you some "quick and dirty" instructions but there are issues with integrating it that way (events won't be flagged, mouseover popups won't work). But this will let you at least integrate the calendar in a block.
Create a new block in the administration area, choose "PHP Script" for the type of block, and put the following code in it.echo "<div class=\"epc\">";
I still need to figure out exactly why the code is not being outputted correctly. Please send me a message using the link in my signature, I'll leave it as unread so it acts as a constant reminder :)
02-23-2007, 08:06 AM
Thanks. I will give that a try.
Not being familiar with the code, I got as far as you did.
I tried going in and tried getting the CSS and other necessary stuff into the header portion.
Sorry. I thought this would be simple test to ensure it worked.
02-23-2007, 01:37 PM
I did manage to put the CSS in the header and the OL towards the top of the code, but I don't have instructions written up for how to do it yet...
I always used to do it exactly like I posted, but now it seems that something either in PHP or PostNuke has changed and doesn't output the code to the HTML anymore.
If you're not going to do modifications to your Categories, I could guide you in hardcoding the required sections directly. This would at least get you going.
02-24-2007, 05:26 PM
Solved! I was looking for something really complicated, so I completely missed the obvious.
The EPC-PostNuke module will be stickied to this forum.
Let me know how you make out with the instructions.
06-08-2007, 02:03 PM
you said you solved the problem. I don't recall getting the information. Do I need to download the latest, or is there something else.
06-08-2007, 04:43 PM
Hi Jerry, I tried to find the email that I would've kept, but was unable to find anything.
The new module (version 1.0) has been posted to the repository (stickied thread at the top of this forum). It has new instructions and pnRender functions.
Please download the new version and follow the integration instructions.
Let me know if you run into problems.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.