Integrate Into existing Site
Moderator: Thorsten
Integrate Into existing Site
Just installed phpMyFAQ 2.8.x. Now i would like to know how/where to add our header, sidebar and footer into phpMyFAQ PHP? Our site is written in pHP if that matters
Re: Integrate Into existing Site
Hi,
just take a look at the index.tpl file in /assets/template/default/index.tpl
bye
Thorsten
just take a look at the index.tpl file in /assets/template/default/index.tpl
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Integrate Into existing Site
OK, so I need to include a php file for the header and footer. So I put:
<?php include 'direct/path/h.php'; ?> between line 29 and 31 of /assets/template/default/index.tpl then saved and browsed to the link and nothing shows up. I assume it does not like the php inside the tpl?
<?php include 'direct/path/h.php'; ?> between line 29 and 31 of /assets/template/default/index.tpl then saved and browsed to the link and nothing shows up. I assume it does not like the php inside the tpl?
Re: Integrate Into existing Site
Hi,
nope, PHP code does not work in templates.
bye
Thorsten
nope, PHP code does not work in templates.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist