Here are the basic steps to build a Joomla site.
- Create site/create database/install Joomla.
- Create a public section.
- Create initial categories.
Components, Modules, and Mambots
Template tutorial
http://www.absalom.biz/tutorials/Mambo_Template_Tutorial.html
Customizing templates:
One big downside of Mambo is that content and presentation are not cleanly separated in modules. To get a main menu to wrap for a customer, we edited the raw table code found in modules/mod_mainmenu.php.
Hidden login
- Add show-hide script (in template html head):
if(document.layers) // NN4
{
document.layers[szDivID].visibility = iState ? "show" : "hide";
}
else if(document.getElementById) // gecko(NN6) + IE5+
{
var obj = document.getElementById(szDivID);
obj.style.visibility = iState ? "visible" : "hidden";
}
else if(document.all) //IE 4
{
document.all[szDivID].style.visibility = iState ? "visible" : "hidden";
}
}
//--> </script>
2. Create login block (in template html body):
<?php mosLoadModules( 'inset' ); ??> Admin
3. Create trigger:
4. Add hidden style definition (template css):
position: absolute;
- LoginBox {
top: 0px;
left: 0px;
width: 200px;
visibility: hidden;
border: 1px solid;
z-index: 1000;
background-color: #ffffff;
}
5. Go to Modules/Site Modules, and put login form in the 'inset' group.