Actions

Chunk

Difference between revisions of "Module Position"

From Joomla! Documentation

m (fixing)
m ('They' replaced with 'Placeholders')
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Understanding Module Positions==
+
<translate>
Module positions are placeholders in a [[template]]. They identify positions within the template and tell the Joomla! application where to place output from modules assigned to a particular position. The template designer has complete control over module positions, creating variations between templates and the respective Joomla! default positions assigned to modules in the installation sample data.
+
<!--T:1-->
 +
A module position is a placeholder in a [[template]]. Placeholders identify one or several positions within the template and tell the Joomla! application where to place output from modules assigned to a particular position. The template designer has complete control over module positions, creating variations between templates and the respective Joomla! default positions assigned to modules in the installation sample data.
  
 +
<!--T:2-->
 
For example, the module position '''Left''' could be defined to be on the left side of the template to display a site navigation menu. So if a module is assigned the '''Left''' position, it will be displayed wherever the designer puts that '''Left''' module position - not necessarily the left side of the page.
 
For example, the module position '''Left''' could be defined to be on the left side of the template to display a site navigation menu. So if a module is assigned the '''Left''' position, it will be displayed wherever the designer puts that '''Left''' module position - not necessarily the left side of the page.
 
+
<noinclude>[[Category:Glossary definitions|{{PAGENAME}}]]</noinclude></translate>
===Visualization===
+
<noinclude>
It's possible to visualize all modules set on a template by calling the <code>"tp=1"</code> query string on the front-end.
+
== Languages ==
<pre>
+
<languages /></noinclude>
http://www.example.com/index.php?tp=1
+
</pre>
+
 
+
'''Joomla 2.5''' {{JVer|2.5}} and '''Joomla 3.x''' {{JVer|3.x}} will show the template positions with ?tp=1 or &tp=1 if the '''Preview Module Positions mode''' in the Template Manager has been '''Enabled''':
+
*{{rarr|Extensions,Template Manager}} then click the Options button in the toolbar.
+
*Under the '''Templates Tab''', make sure <u>''Preview Module Positions''</u> is set to '''Enabled'''.
+
<noinclude>[[Category:Glossary definitions|{{PAGENAME}}]]</noinclude>
+

Latest revision as of 15:30, 27 June 2014

A module position is a placeholder in a template. Placeholders identify one or several positions within the template and tell the Joomla! application where to place output from modules assigned to a particular position. The template designer has complete control over module positions, creating variations between templates and the respective Joomla! default positions assigned to modules in the installation sample data.

For example, the module position Left could be defined to be on the left side of the template to display a site navigation menu. So if a module is assigned the Left position, it will be displayed wherever the designer puts that Left module position - not necessarily the left side of the page.

Languages

Other languages: català 33% • ‎dansk 33% • ‎English 100% • ‎español 100% • ‎français 100% • ‎Bahasa Indonesia 100% • ‎日本語 33% • ‎Nederlands 100% • ‎svenska 33% • ‎Kiswahili 100%