i looked around and solved the problem of getting php and includes in my template. although im still having 2 other problems first off it seems to me that any of the includes {TITLE} or main menu {MAIN_MENU} dont work bellow the main table of the board. so you can see my custom footer not working at the bottom of my board here http://www.sporkit.com/dsu/gallery/index.php.
also the page i included was using sessions. unfortunatly they dont seem to work if im using cpg. however it does work with phpbb. just wondering if there is anything i can do about this problem. thanks for any tips. :)
one question at a time please, we have a "one question per thread" policy on this board.
Please read http://forum.coppermine-gallery.net/index.php?topic=6353.msg35413#msg35413
GauGau
sorry gau sometimes i dont think. ::)
although thanks for that link. it did help me solve my problem. i used this link (http://coppermine.sourceforge.net/oldboard/viewtopic.php?t=1825).
also i might just recommend this code for getting the include in case anbody wants it. //include code
ob_start();
include("../site_footer.php");
$my_footer = ob_get_contents();
ob_end_clean();
//include code
$template_vars = array(
'{MY_FOOTER}' => $my_footer
);
echo template_eval($template_footer, $template_vars);