PDA

View Full Version : Is it possible...?


Jesina
06-03-2005, 01:34 PM
... to integrate into phpbb?

I noticed when I made sure this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

The alignment within the tables shifted to right align.

Also, I have

<?php $CSS=1; require ("full/path/to/escal/showCalendar.php (http://www.paarandisen.net/escal/showCalendar.php)"); ?>

in both the header (before the </ head> tag (space intentionally put in there) as well as into the code where I wish the calendar to be displayed.

I'm wondering, if it is not showing because of some craziness between the phpbb and the require and include functions - because I have a random quote display which also is not showing.

Any ideas?

ve9gra
06-03-2005, 03:17 PM
This doesn't really apply to this section as phpBB and PHP-Nuke/Postnuke are completely different beasts. But as an FYI, the doctype isn't absolutely required. If it breaks your layout and the calendar works fine without it, leave it out.

As for the require call, if you don't have a leading "/" it will look in the current folder of the .php script you're executing... Now, you might want to try having "../path/to/cal" if you're using the somewhat standard layout of having "/webroot/forums/" and "/webroot/escal/" and you're trying to call the calendar from the forum folder...

You'll also have to work around the .tpl files for the forum, as it's using templates and those might get in your way.

Good luck.