Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Module positions

993 views

Published on

This presentation explains how module positions are added to a Joomla template, as well as how they relate to Joomla menu items.
More Joomla tips and tutorials:
www.joomlablogger.net

  • Be the first to comment

  • Be the first to like this

Module positions

  1. 1. Module Positionsin a Joomla template www.joomlablogger.net
  2. 2. Basic Joomla template header Componentleft right area footer
  3. 3. More complex Joomla template logo headerleft headerright left Component right area left2 left3 right2 right3 contentbottom footer
  4. 4. The component area outputs your content logo headerleft headerright left Component right area left2 left3 right2 right3 contentbottom footer <jdoc:include type="component" />
  5. 5. Module positions contain various modules logo headerleft headerright left Component right area left2 left3 right2 right3 contentbottom footer <jdoc:include type="modules" name="left" />
  6. 6. Adding a new module logo headerleft headerright contenttop left right Component area left2 left3 right2 right3 contentbottom footer<jdoc:include type="modules" name="contenttop" style="xhtml" />
  7. 7. PHP snippet goes into your template index.php file<jdoc:include type="modules" name="contenttop" style="xhtml" />
  8. 8. Module chrome wraps your module content Module chrome Module content<jdoc:include type="modules" name="contenttop" style="xhtml" /> <div class="moduletable"> <h3>The module name</h3> <div>The actual module content.</div> </div>
  9. 9. Menu items create a content view logo headerleft headerright left Component right area left2 left3 right2 right3 contentbottom footer The content view can contain a single article, a category listing or similar, i.e. an output from some component in Joomla. Content from this component is shown in the component area of the template.
  10. 10. Modules shown for this menu item logo headerleft contenttop right right Component area left2 left3 right2 contentbottom footer Modules can be linked to the content view.In other words, the modules are linked to the menu item.
  11. 11. Where modules are show is selected in the module itself logo headerleft contenttop right right Component arealeft2 left3 right2 contentbottom footer In Joomla 2.5, modules can be shown on All Pages, No Pages, All Pages Expect Selected or All Selected Pages.
  12. 12. Modules normally fill the space they have available logo headerleft contenttop right right Component area left2 left3 right2 contentbottom footer This depends on the way the template is coded.
  13. 13. www.joomlablogger.net

×