PDA

View Full Version : Existing Site Intergration


brbsta
11-21-2006, 11:38 AM
I am working on a all PHP website, with a own custom back end and everything. I do know that I can make it work with my own admin with the bypass, BUT is it possible to include the main file and have it work correctly and show up in my own site template (I would think it has to) but before buying firgure I would ask.

Brian
11-21-2006, 12:10 PM
Just so I make sure I answer correctly, what is the "main file" that you're referring to? The calendar itself, or the Event or Setup Managers?

brbsta
11-22-2006, 02:38 PM
Well all of them, i want the whole calander to be able to go into the layout.

Brian
11-22-2006, 04:10 PM
The calendar itself can easily integrated into your existing pages. It's designed to be used that way. See the Integration section of the instructions for details on how to do this.

The Setup and Event Managers aren't designed to be integrated like this, but you could be creative and use frames or iframes.

brbsta
11-23-2006, 04:58 PM
Ok, so i got the trial installed and workd great by its self. Now I tried to put it into my temaplte and i get. http://uticalawn.com/sigep/calendar/

As you can see all that stuff is going into the template each time. All that I did is put the following code into the calendar.php

At start:

<?php

ob_start();
$title = ("SigEp MI Theta LTU // Calendar");

At end:

$pageContent = ob_get_contents(); ob_end_clean(); include "sigeptemplate.php"; ?>


Then in my template its just $pagecontent in a cell.

Any idea y it is doing this..

brbsta
11-23-2006, 07:03 PM
Now all I did was include calendar.pph into a blank template page and i get http://uticalawn.com/sigep/calendar/calendar1.php .

Just the numbered calendar shows up with no css.

Brian
11-23-2006, 07:39 PM
Make sure you have all three lines of code from the Integration section of the instructions. Especially, the Important section. :)

brbsta
11-23-2006, 08:04 PM
Yea, i got that now, every mode works except for the one i want, the blog mode, im getting all types of errors on the top of the page, BUT it does actaully work.

http://uticalawn.com/sigep/calendar/calendar1.php

Brian
11-24-2006, 11:14 AM
What were the errors you were seeing?

Does the demoBlog.php file work correctly?