Difference between revisions of "Module"

From Joomla! Documentation

m
m (update)
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
__TOC__
 
{{Chunk:Module}}
 
{{Chunk:Module}}
  
==Module Position==
+
==Learning More==
  
[[Image:Module_Position.jpg|thumb|Example of Module Position]]
+
<div class="large-5 column panel radius" style="background:white; border:none;">
Modules can be added to a [[Module Position]]. Positions are defined in a Joomla template. Additionally in Joomla 1.5 you can see what positions are available in the template you are using by adding either ?tp=1 or &tp=1 to the end of the URL in the frontend.
+
<div class="large-12 column panel radius" style="background:aliceblue;">
 +
{{:Module/reading}}
 +
</div>
 +
<div class="large-12 column panel radius">
 +
{{Chunk:Module Position}}
 +
</div>
 +
</div>
 +
<div class="large-7 column">
 +
{{:Module/Default_modules}}
 +
</div>
  
'''Joomla 1.6''' will only show the template positions with ?tp=1 or &tp=1 if the '''Preview Module Positions mode''' in the Template Manager has been '''enabled''':  
+
[[Category:Extensions| Module]][[Category:Landing Pages]][[Category:Glossary]][[Category:JED]]
Extensions > Template Manager > Options (upper right corner) > (templates tab) Preview Module Positions: Enabled.
 
 
 
==Recommended Reading==
 
 
 
===Developers===
 
{{RecReading|Module|dev|audience}}
 
 
 
[[Category:Landing Pages]][[Category:Glossary]][[Category:JED]]
 

Revision as of 09:02, 29 September 2013

<translate> Modules are lightweight and flexible extensions used for page rendering. These modules are often “boxes” arranged around a component on a typical page. A well-known example is the login module. Modules are assigned per menu item, so you can decide to show or hide (for example) the login module depending on which page (menu item) the user is currently on. Some modules are linked to components: the “latest news” module, for example, links to the content component (com_content) and displays links to the newest content items. However, modules do not need to be linked to components; they don't even need to be linked to anything and can be just static HTML or text.

Modules are managed in the Joomla! Administrator view by the Module Manager. More information about module management can be found on the appropriate version help screens.

See also: Component, Plugin, Template</translate>

Learning More[edit]

<translate> 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. </translate>