Location: PHPKode > projects > Mambo CMS > help/454.screen.templates.modules.html
<!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" lang="en_US" xml:lang="en_US">
<head>
<title>Module Positions</title>
<link href="css/help.css" rel="stylesheet" type="text/css" />
<meta name="copyright" content="(C) 2000 - 2005 Miro International Pty Ltd" />
<meta name="license" content="http://www.gnu.org/copyleft/gpl.html GNU/GPL" />
</head>
<body>
<h1>Module Positions</h1>
<p align="left">The Module Positions page allows you to enter details of the module positions you have used in your template. All the default module positions are already entered and in general it is unlikely you would need to change this.<br /><br />Should you want to use positions that do not pre-exist in the default Mambo setup you can simply add a name for a module position and a description. The description is optional.</p><p align="left"><br /><br />To create a new module position in your template, you insert this basic code into your template to be able to assign modules to a specific position.<br /></p><p><strong>&lt;?php mosLoadModules ( 'position' ); ?&gt;</strong></p><p align="left">The word 'position' is to be changed to whichever position you define on this page. The name of the positin must&nbsp;not has any spaces.</p><p align="left">Each module position you define in your template, must have an entry in module positions screen. Otherwise it wan't function.<br /><br />When you click on <strong>Site -&gt; Preview -&gt; Inline with Position</strong>, you may visualize your Home page with blocks displaying the Positions used in the template assigned to the Home page. </p><p align="left" /></body>
</html>
Return current item: Mambo CMS