How Do I Determine Module Positions In A Joomla Template?
As a Joomla developer, often one needs to know what are the module positions available for use in a 3rd party, Joomla template.
NOTE: Joomla template module positions are normally available in the template documentation that almost always accompanies a Joomla template.
Alternatively, once a webpage from a Joomla driven website is visible in a Browser, there is a Browser URL based command that can be used to display the module positions in the Joomla template.
The Browser level URL based command is: http://<fullURLofthewebsite>/?tp=1
As shown in diagram 1.
As soon as this URL level command is encountered in the Browser the Joomla template will make its module positions visible as shown in diagram 2.
NOTE: All template module positions are displayed inside boxes in red as shown in diagram 2.
NOTE: For security reasons, in Joomla 3.X there is a setting that has to be done by the Joomla administrator before template module positions are displayed in the Browser in response to the command <fullurl>/?tp=1.
The Joomla Admin Setting To Be Done
Login to the Joomla website as administrator.
In the Joomla administration User interface displayed in the Browser locate the link Template Manager in the right hand side of the screen as shown in diagram 3.
On click of the link Template Manager the Template Manager: Styles User interface will be displayed in the Browser as shown in diagram 4.
Locate Options in the top menu items of this User interface. Click Options, as shown in diagram 4.
NOTE: The protostar template has been set as default as indicated by the orange star in the column named default. This is the Site template.
Hence any settings done using Options will be associated with the protostar template.
On Click of Options the Template Manager: Options screen will be displayed in the Browser as shown in diagram 5.
NOTE: The Preview Module Positions has been disabled as shown in diagram 5. Click Enabled to enable this option. As shown in diagram 6.
Once done click Save & Close in the top menu items of this User interface as shown in diagram 5
NOTE: Only once this Joomla Administrator level setting is completed will template module positions be displayed in a Browser as shown in diagram 2.