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

From Joomla! Documentation

m (Reverted edits by Arcturusweb (Talk) to last version by Chris Davenport)
(Some markup changes.)
 
(20 intermediate revisions by 8 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:-
+
<noinclude><languages /></noinclude>
 +
<translate><!--T:1-->
 +
To get a visual indication of all module positions used on a page you can follow this procedure:</translate>
  
* navigate to the page in your web browser.
+
<translate><!--T:2-->
* click into the URL field in your browser.
+
* In the Backend, go to {{rarr|Administrator,Extensions,Templates}}. Then select ''Options''. Set ''Preview Module Positions'' to ''Enabled''. Finish with ''Save and Close''.</translate>
* 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 <tt><nowiki>http://mydomain.com/index.php?id=17</nowiki></tt>, the "id=17" is a parameter.
+
<translate><!--T:3-->
* if there are no parameters, append "?tp=1" to the URL and press RETURN. For example, <tt><nowiki>http://mydomain.com/index.php?tp=1</nowiki></tt>.
+
* Navigate to the Website page you wish to see the module positions for in your browser.</translate>
* if there are already parameters in the URL, append "&tp=1" to the URL and press RETURN. For example, <tt><nowiki>http://mydomain.com/index.php?id=17&tp=1</nowiki></tt>.
+
* <translate><!--T:4-->
* the module positions will be outlined in red.
+
Click into the URL field in your browser.</translate>
 +
<translate><!--T:5-->
 +
* 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 ''<nowiki>https://mydomain.com/index.php?id=17</nowiki>'', the ''id=17'' is a parameter.</translate>
 +
<translate><!--T:6-->
 +
* If there are no parameters, append ''?tp=1'' to the URL and press ''Return''. For example, ''<nowiki>https://mydomain.com/index.php?tp=1</nowiki>''.</translate>
 +
<translate><!--T:7-->
 +
* If there are already parameters in the URL, append ''&tp=1'' to the URL and press ''Return''. For example, ''<nowiki>https://mydomain.com/index.php?id=17&tp=1</nowiki>''.</translate>
 +
<translate><!--T:8-->
 +
* The module positions will be outlined in red.</translate>
  
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.
+
<translate><!--T:9-->
<noinclude>[[Category:Modules]][[Category:Procedures]][[Category:Templates]]</noinclude>
+
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, the template may adapt and the position will not be visible.</translate>
 +
 
 +
<noinclude>
 +
<translate>
 +
<!--T:10-->
 +
[[Category:Modules]]
 +
[[Category:Procedures]]
 +
[[Category:Templates]]
 +
[[Category:Template Development]]
 +
[[Category:Tips and tricks]]
 +
[[Category:Tips and tricks 2.5]]
 +
[[Category:Tips and tricks 3.x]]
 +
</translate>
 +
</noinclude>

Latest revision as of 17:17, 14 November 2022

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎italiano • ‎Ελληνικά

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

  • In the Backend, go to Administrator  Extensions  Templates. Then select Options. Set Preview Module Positions to Enabled. Finish with Save and Close.
  • Navigate to the Website page you wish to see the module positions for in your 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 https://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, https://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, https://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, the template may adapt and the position will not be visible.