Mango Event Start Template
As I was developing my own skins I kept running into issues where I forgot to include some necessary event triggers. So I stripped out al the layout code leaving only the core tags that I can use as a starting point for a template. Here is what was left. Not much really. Let me also add, that I am not very familiar with mango just yet, so if I am missing information please let me know so I can add it. Perhaps the few developers that are currently working with Laura (the author of mango) we can help her write the much needed documentation.
So here is the code. You may also download a nifty zip archive of the page template.
<!--- //----------------- Include the mango tag libraries -----------------// --->
<cfimport prefix="mango" taglib="../../tags/mango">
<cfimport prefix="mangox" taglib="../../tags/mangoextras">
<cfimport prefix="template" taglib=".">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--- //----------------- Header for author information, css and rss -----------------// --->
<meta http-equiv="Content-Type" content="text/html; charset=<mango:Blog charset />" />
<meta name="generator" content="Mango <mango:Blog version />" />
<meta name="description" content="<mango:Blog description />" />
<meta name="robots" content="index, follow" />
<link rel="stylesheet" href="<mango:Blog skinurl />assets/styles/styles-site.css" type="text/css" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="<mango:Blog atomurl />" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<mango:Blog rssurl />" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<mango:Blog apiurl />" />
<title><mango:Blog title /></title>
<mango:Event name="beforeHtmlHeadEnd" />
</head>
<body>
<mango:Event name="beforeHtmlBodyStart" />
<!--- //----------------- Sidebar Events -----------------// --->
<mango:Event name="afterSideBarStart" number="1" />
<mango:Event name="beforeSideBarEnd" number="1" />
<!--- //----------------- Footer Events -----------------// --->
<mango:Event name="afterFooterStart" />
<mango:Event name="beforeFooterEnd" />
<mango:Event name="beforeHtmlBodyEnd" />
</body>
</html>