Hi guys, bit of a tricky one this...
I have a number of custom pages on my phpbb forum to create a members area, this has worked well for me.
I am now working on the next feature of my site which is for locum GP's to have an availability calendar on their own "profile" page which I can create by making more custom pages stemming from the forum.
The calendar I am trying to use is easyPHPcalendar which requires me to have:
before the </head> and then I can put:
<?php $CSS=1; require("calendar/calendar.php"); ?>
wherever I want the calendar to appear.
<?php $OL=1; require("calendar/calendar.php"); ?>
To make these custom pages, I have a .php file in the root which contains:
and a .html body file in the templates folder that contains the pages content... so how can I get round this?
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : 'forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
if ($user->data['user_id'] == ANONYMOUS)
'body' => 'test_body.html',
I tried making the template body file a .php file, pasting the contents of my overall header file in to the body, and doing it that way but that didnt work.
The guys on the phpbb support forum weren't very helpful, in fact just confused me even more.
Any help is appreciated, thanks.