Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Include header and footer on other pages.
#4
Not Solved
you can make a global template with required header part & another with required footer part
<?php
define("IN_MYBB", 1);
require_once ('/global.php');
eval("\$header1 = \"".$templates->get("customheader")."\";");
echo $header1;

required other content

eval("\$footer1 = \"".$templates->get("customfooter")."\";");
echo $footer1;
?>

OR use a plugin like page-manager


Messages In This Thread
RE: Include header and footer on other pages. - by ranjani - 2011-08-07, 10:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)