Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: How to add a module position

How to add a module position 14 years, 11 months ago #214

  • joomtorial
Hi all,

Here is how to add a module position. This is to create a hidden position - i.e. the position is used for other purposes like modules that use another module position to use such as f2c overlay module. http://extensions.joomla.org/extensions ... rames/8000

The developer of this module suggest:
It is recommended you create a new module position not currently used on the site to keep it from publishing elsewhere on your site.


What we are doing here, is basically creating a module position that is not visible in the template itself, yet visible when called by another module such as f2c.

1. Use FTP to browse to: <your joomla root folder>/templates/<your template>/templateDetails.xml

[attachment=2:1bwqzkka]<!-- ia2 -->template_xml.png<!-- ia2 -->[/attachment:1bwqzkka]

Then open / download templateDetails.xml with your favorite html/php editor.

After that, create a new line that will represent your new position as shown on the screenshot below, where "yournewposition" can be any name you wish. Just make sure you keep it 1 word without special characters.
<position>yournewposition</position>


[attachment=1:1bwqzkka]<!-- ia1 -->templateDetails.xml.png<!-- ia1 -->[/attachment:1bwqzkka]

After you have done that, save the file templateDetails.xml and upload to your server.

Then when you create a new module in your Joomla Module Manager, this new position is now available as shown on the screenshot below.

[attachment=0:1bwqzkka]<!-- ia0 -->position.png<!-- ia0 -->[/attachment:1bwqzkka]
Attachments:
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.18 seconds

Joomla Video Tutorials by Joomtorial