Actions

Difference between revisions of "Finding module positions on any given page"

From Joomla! Documentation

m
(Remove 1.6 and 1.7 tags and add 3.x)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
To get a visual indication of all module positions used on a page you can follow this procedure:-
 
To get a visual indication of all module positions used on a page you can follow this procedure:-
  
* {{JVer|1.6}} In the administrative backend go to Extensions->Template Manager. Click on Options and set Preview Module Positions to enabled.
+
* {{JVer|2.5}}{{JVer|3.1}} In the administrative backend go to Extensions->Template Manager. Click on Options and set Preview Module Positions to enabled.
 
* navigate to the page in your web browser.
 
* navigate to the page in your web browser.
 
* click into the URL field in your browser.
 
* click into the URL field in your browser.
Line 10: Line 10:
  
 
Note that in some circumstances there may be module positions available that are not outlined in red. This can happen when a template defines those module positions as conditional on there being modules enabled in that position. If there are no modules enabled in that position then the template may adapt and the position will not be visible.
 
Note that in some circumstances there may be module positions available that are not outlined in red. This can happen when a template defines those module positions as conditional on there being modules enabled in that position. If there are no modules enabled in that position then the template may adapt and the position will not be visible.
<noinclude>[[Category:Modules]][[Category:Procedures]][[Category:Templates]]</noinclude>
+
<noinclude>
[[Category:Tips and tricks]][[Category:Template Development]]
+
[[Category:Modules]]
 +
[[Category:Procedures]]
 +
[[Category:Templates]]
 +
[[Category:Template Development]]
 +
[[Category:Tips and tricks]]
 +
[[Category:Tips and tricks 1.5]]
 +
[[Category:Tips and tricks 1.6]]
 +
[[Category:Tips and tricks 1.7]]</noinclude>

Revision as of 07:32, 29 April 2013

To get a visual indication of all module positions used on a page you can follow this procedure:-

  • Joomla 2.5Joomla 3.1 In the administrative backend go to Extensions->Template Manager. Click on Options and set Preview Module Positions to enabled.
  • navigate to the page in your web browser.
  • click into the URL field in your browser.
  • look for any "parameters" at the end of the URL. These are separated from the main part of the URL by a question mark. For example, in the URL http://mydomain.com/index.php?id=17, the "id=17" is a parameter.
  • if there are no parameters, append "?tp=1" to the URL and press RETURN. For example, http://mydomain.com/index.php?tp=1.
  • if there are already parameters in the URL, append "&tp=1" to the URL and press RETURN. For example, http://mydomain.com/index.php?id=17&tp=1.
  • the module positions will be outlined in red.

Note that in some circumstances there may be module positions available that are not outlined in red. This can happen when a template defines those module positions as conditional on there being modules enabled in that position. If there are no modules enabled in that position then the template may adapt and the position will not be visible.