Using a natural template method, you can also define your own settings, like as follows:
... template:
Your templates can then also include whatever standard headers and footers they need to also.
<?php include "../settings.inc.php"; $TEMPLATE = array(); $TEMPLATE['head'] = "Some head HTML"; $TEMPLATE['content'] = "Some content"; $TEMPLATE['title'] = "Title example"; $SETTINGS = array(); $SETTINGS['show_contactInfo'] = true; $SETTINGS['title_bigger'] = true; include "../template.inc.php"; ?>
... template:
<html> <head> <?=$TEMPLATE['head'];?> </head> <body> <?php if($SETTINGS['title_bigger'] == true)print"<h1>".$TEMPLATE['title']."</h1>"; else print $TEMPLATE['title']; print $TEMPLATE['content']; if($SETTINGS['show_contact'] == true)print $TEMPLATE['show_contact']; ?> </body> </head>
Your templates can then also include whatever standard headers and footers they need to also.