Does anybody have a sample "top_include_page" that I could look at for ideas on how to put my own custom banner at the top of each page (logo, links, etc).
From what I see in config_defaults_inc.php, this functionality is supported, but I can't figure out what kind of file to "set this to". An "html" file? A php file? A combination?
Thanks (in advance) for any tips or help....
Steve
Sample file for "top_include_page"?
Moderators: Developer, Contributor
You can set the header and footer to html or php files.
Following is the template I use for my header files. Obviously, this will go into a .php file:
Regards,
Victor
MantisConnect
http://www.futureware.biz/
Following is the template I use for my header files. Obviously, this will go into a .php file:
Code: Select all
<?php
$is_login_page = strpos( $_SERVER['PHP_SELF'], 'login_page' ) !== false;
if ( $is_login_page ) {
# echo the header for the login page.
} else {
# echo the header for other pages.
}
?>
Victor
MantisConnect
http://www.futureware.biz/