logo
            Lost Password?   No Account Yet? Register
  • Home
  • Tutorials
  • Rapid Forum
    • Demo
    • Backend Screenshots
    • Installation for Beginners
    • Roadmap
  • Support Forum
    • Bug Tracker
  • About
Joomla Handbook
Getting Started
Joomla Control Panel
Joomla Mechanics
Content Editor Screen
Add Content
Add Menu Link
Add Photos/Images
Add Links
Add PDFs
Add Events
Add Video
Add Admins


Help
My Content Is Locked
Funny Characters
Funny Paragraph Spaces
Administrators
How-To's (12)
FAQs (3)
Developers
Getting Started (for newbies) (2)
Architecture (1)
Templates (4)
CSS (1)
Extensions (7)
Modules and Positions - an instructional diagram
Tuesday, 08 April 2008

Joomla templates consist of your XHTML and Joomla position tags. Some template code looks like this:

<div id="content_area">
  <div class="interior-title"><?php mosLoadModules ( 'titleimage', -1); ?></div>
  <div class="info-box"><?php mosMainBody(); ?></div>
  <div id="right"><?php mosLoadModules ( 'right'); ?></div>
</div>


 

 

In this case the positions include "titleimage," "mosMainBody" and "right." You can either use the default Joomla positions or create your own. If you create new position names (I like to always assign my menus to a position called "topnav"), you have to add them to the list at Site > Templates >Module Positions.

Now check out this diagram: Modules and Joomla Template Positions.

 

Joomla on osCandy.comHoldiland crŽateur de pcsolutions web sur mesure

 thumb


Comments (1)Add Comment
...
written by a guest, June 05, 2008
Hey Guys,
Did you know that you can include module positions inside of articles?

Joomla 1.0 has a mambot called "Load Module Position"

to use it inside of an article you have to use {mosloadposition user1}

It can be very useful when you want to include a module inside of an article for a specific page without using a menu item.

Taras

Write comment

busy
 
Next >