This is a blank template for Mambo that you can use to start building your own, unique design. Feel free to use this code or download the file to use as a base for your own template.
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO. This is what sets the charset in the content type metadata below
$iso = explode( '=', _ISO );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?> <!-- this brings in the page title and header tags from Mambo -->
<?php
if ( $my->id ) {
initEditor();
}
global $mainframe;
$sitename = $mainframe->getCfg( 'sitename' );
?>
<!-- the code above initialises the WYSIWYG editor and sets the sitename. It does not generate any output on your site -->
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/templates/templatename/css/template_css.css" type="text/css" />
<!-- the CSS file must be called template_css.css. This is the link to use to call your css file –>
</head>
<body>
</body>
</html>
Tomorrow, I will be publishing a Mambo CSS Guide. Come back to read it. I will also be posting both files for you to download.








2 Responses to “ Blank template for Mambo ”