proph3t
02-10-2006, 11:46 PM
I have a webapp that a client wants integrated with their forums look. It consists of quite a few files and runs on its own CMS, so rather than actually integrating it I need to just include the header and footer templates used in vbulletin.
I have tried stuff like this (this including the other code required to make it work):
eval('print_output("' . fetch_template('headinclude') . '");');
eval('print_output("' . fetch_template('footer') . '");');
My problem is I need to be able to just call the header and footer and then include them at the top and bottom of each page of the CMS. The webapp is in a subdirectory of the forum. So /forum/webapp/.
Help is highly appreciated. I searched quite a bit but found nothing quite like this, hopefully this isn't a repeat.
Alright, I found out how to include the header and footer after you have imported the globals.php, now I just need to get the navbar. Anyone?
I have tried stuff like this (this including the other code required to make it work):
eval('print_output("' . fetch_template('headinclude') . '");');
eval('print_output("' . fetch_template('footer') . '");');
My problem is I need to be able to just call the header and footer and then include them at the top and bottom of each page of the CMS. The webapp is in a subdirectory of the forum. So /forum/webapp/.
Help is highly appreciated. I searched quite a bit but found nothing quite like this, hopefully this isn't a repeat.
Alright, I found out how to include the header and footer after you have imported the globals.php, now I just need to get the navbar. Anyone?