Skip to content

Templates icon

Blank template for Mambo

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.

Bookmark This:
  • bodytext
  • Technorati
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
  • Reddit

Whether I am developing Mambo or working on tutorials I am fuelled by coffee. Caffeine keeps me going so if you like the work I am doing please click on the cup to buy me a coffee today. Just $10 covers the cost of getting my caramel macchiato ;)

If you enjoyed this article make sure you subscribe to my RSS feed!

2 Responses to “ Blank template for Mambo ”

Backlinks

  1. content management system
  2. css guide download

Leave a Reply

This is a gravatar-friendly site, enter your email address to use your gravatar.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.