2003-05-01 17:25:09 UTC
for the templates it is simple,
you can do a cuple of things.
a) trough straight hard coded HTML into the header and footer sections of your template and conman will wrap that around the out put of your site
or.
b) put an include in the header and footer that calls a header and footer include fragment. that way you can change the whole look of your site by just changing your includes
<!-- sample arcive page -->
<?php
// set the globals for this template
$DOCUMENT_ROOT = "/www/members.your-web-site.com/html";
// include header
$header_file = "$DOCUMENT_ROOT/members/inc/arcive_header.inc.php";
if(file_exists("$header_file"))
{
include("$header_file");
}
else
{
print("\n<!-- oops \"$header_file\" was not found -->\n");
}
?>
<!-- start ConMan input -->
<!-- end ConMan input -->
<?php
// include footer
$footer_file = "$DOCUMENT_ROOT/members/inc/arcive_footer.inc.php";
if(file_exists("$footer_file"))
{
include("$footer_file");
}
else
{
print("\n<!-- oops \"$footer_file\" was not found -->\n");
}
?>