[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/help/ -> templates.module-positions.html (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2  <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
   3  <head>
   4  <title>Module Positions</title>
   5  <link href="css/help.css" rel="stylesheet" type="text/css" />
   6  </head>
   7  <body>
   8  <strong class="title">Module Positions</strong>
   9  <table width="100%"  border="1" cellspacing="0" cellpadding="3">
  10       <tr>
  11            <td width="16%" align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Purpose:</td>
  12            <td width="84%" valign="top" class="data"><p>The Module
  13                      Positions page allows you to enter details of the module
  14                      positions you have used in your template. All the default
  15                      module positions are already entered and in general it is
  16                      unlikely you would need to change this.Should you want to
  17                      use positions that do not pre-exist in the default Mambo
  18                      setup you can simply add a name for a module position and
  19                      a description. The description is optional.</p>
  20                 <p>Each module position you define in your template,
  21                      must have an entry in module positions screen. Otherwise
  22                      it wan&#39;t function.When you click on <strong>Site -&gt; Preview
  23                      -&gt; Inline with Position</strong>, you may visualize your
  24                      Home page with blocks displaying the Positions used in the
  25                      template assigned to the Home page.</p>          </td>
  26       </tr>
  27       <tr>
  28            <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Usage:</td>
  29            <td valign="top" class="data"><p>To create a new module
  30                      position in your template, you insert this basic code into
  31                      your template to be able to assign modules to a specific
  32                      position.</p>
  33                 <p><code>&lt;?php mosLoadModules ( &#39;position&#39; );
  34                           ?&gt;</code></p>               
  35                 <ul>
  36                      <li>The word &#39;position&#39; is to be changed to
  37                           whichever position you define on this page. The name
  38                           of the positin must&nbsp;not has any spaces.</li>
  39            </ul>               </td>
  40       </tr>
  41       <tr>
  42            <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Default State: </td>
  43            <td valign="top" class="data">n/a</td>
  44       </tr>
  45       <tr>
  46            <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Parameters:</td>
  47            <td valign="top" class="data">n/a</td>
  48       </tr>     <tr>
  49            <td align="right" valign="top" bgcolor="#EFEFEF" class="datalabel">Toolbar Icons: </td>
  50            <td valign="top" class="data">n/a</td>
  51       </tr>
  52  </table>
  53  
  54  
  55  <p>&nbsp;</p>
  56  </body></html>