Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 4:43 pm (All times are UTC )

 




Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Tue Jan 16, 2007 10:59 pm 
Joomla! Ace
Joomla! Ace
Offline

Joined: Tue Nov 14, 2006 3:19 am
Posts: 1040
Location: Portland, OR USA
What modules show up where?

How can I determine what modules are loaded by my template and where do they get put?

1) In the admin website, choose the menu item Site > Preview > Inline with Positions.  This will display your home page inside of the admin window and will draw boxes for module positions and show the "position" name for those boxes.

2) Display your home page in a browser and add &tp=1 to the url like so:  .../index.php?tp=1
This is a much cleaner way to view the page.  (Thanks to Klementz for pointing this one out.)

What do those position names mean?

In the admin website modules are assigned to a "position".  Look at the admin menu item Modules > Site Modules.  Note the "Position" column.  Every module gets assigned to a "position".  Then in the template there is a PHP section of the form:

 

In this example, 'left' is the "position" name.  All modules assigned to that "position" will be displayed there.

What are the available position names and can I add more?

The predefined position names are listed on the admin website under Site > Template Manager > Module Positions.  There are 27 predefined names.  There is also room to add more names for a total of up to 50 names.

_________________
Keith Watson


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group