Friday, December 2, 2011

Joomla 1.7 – How to Add a New Module Position In Joomla Template

Nguồn: http://www.blogger.com/post-create.g?blogID=9205796291897929439

This Joomla tutorial is created for Scott who asked me how to create a new module position inside a Joomla template ie Beez_20. Adding a new module position inside a Joomla 1.7 template is fairly simple with the most challenging step figuring out where you want to put the new module position. Use this post to find out where your module positions are located.

For my example: I will create a new module position

  • Under my ‘Position-0′
  • My new module position will be called ‘CmsMind-NewPosition’.

Overview of what needs to be done:

  • Locate your current module positions
  • In your FTP File Manager edit your Template file index.php
  • In your FTP File Manager, edit your Template file TemplateDetails.xml
  • Assign a module to your new module position

How to Add a New Module Position Inside a Joomla 1.7 Template:

1. Locate your current module positions

  • Use this post to find out where your module positions are located.

2. In your FTP File Manager edit your Template file index.php

Joomla 1.7 Beez20 Edit index.php to add New Module Position

2. Joomla 1.7 Beez20 Edit index.php to add New Module Position

  • Open up your FTP File Manager
  • Find your Template Directory, ie:
        • ../Joomla17/templates/Beez_20
        • Edit your index.php file, ie:
          • /index.php
  • Locate where you want a new module position to be placed in your template
  • Insert the following code:
Joomla 1.7 Template Beez 20 - Edit TemplateDetails.xml

3. Joomla 1.7 Template Beez 20 - Edit TemplateDetails.xml

3. In your FTP File Manager, edit your Template file TemplateDetails.xml

  • Open your FTP File Manager
  • Find your Template Details file ie:
        • /Joomla17/templates/beez_20/templateDetails.xml
  • Find the tags and insert the following line:

CmsMind-NewPosition

4. Assign a module to your new module position in Module Manager

  • Login to your Joomla 1.7 Administrator backend
  • Click on Extensions, Module Manager
  • Choose an existing or a new Module
  • In the details, set:
      • Position =
      • Position = CMSMind-NewPosition
  • Click on Save & Close
Joomla 1.7 - Assign Module to New Module Position

Joomla 1.7 - Assign Module to New Module Position

So that’s it. After you are done you can check out the new template module positions again via Step 1. You will see the new module position you added in red.

Thanks,

No comments:

Router Packet Networking

Đây là video ngắn khá hay, mô tả đường đi của một gói tin trên Mạng Internet.