Build a Joomla site

Here are the basic steps to build a Joomla site.

  1. Create site/create database/install Joomla.
  2. Create a public section.
  3. 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


  1. Add show-hide script (in template html head):
<script> {
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:

<?php echo $linktxt_8; ?>

4. Add hidden style definition (template css):
  1. LoginBox {
position: absolute;
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.