TOPIC: New position in template

New position in template 11 years 1 month ago #1052

  • Péter Barlabás
  • Péter Barlabás's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 41
  • Orders: 1
  • Download: 7
  • Thank you received: 2
  • Karma: 1
Hello!

I'd like to create a new position in a template layout (Vina Fitness), how could I do it?
I have created a new line in a templatedetails.xml, but it's not enough yet!?

Best regards:
Péter
The administrator has disabled public write access.

New position in template 11 years 1 month ago #1055

  • Rango
  • Rango's Avatar
  • OFFLINE
  • Administrator
  • Posts: 848
  • Thank you received: 115
  • Karma: 22
How to add a new module position?

This tutorial tells us how to add a new module positions to the Helix V2 Framework based Joomla 3 Templates. It's easy procedure, it takes approximately max 3 minutes from the time you will start.

Step 1: The first step in adding a new module position to your default template is to edit the templateDetails.xml file. This file is essential, it holds all key metadata about the template. This file is located under the VinaGecko template folder. Once opened for code editing, locate the <positions></positions> tags. The element <positions> encloses the actual module positions.Within <position> you should insert your desired name, which will later be listed automatically in the Module Manager in the Joomla back-end. You can use different names for it: "example" , "newposition", "contact" etc. In our example we used following code:

<position>example</position>
Example:

step-1_2015-01-23.png


Did you know that Joomla 3.x allows you to edit templateDetails.xml file directly from the Template Manager.

step-1b.png


Step 2: The new module position now should be assign from layout builder. Template Manager --> VinaGecko Template --> Layout (tab). Choose place where you want to add it. For example we want to use as new row after Feature positions. If yes, in Feature tool bar click on [=] icon which allows you to add new Row under current.

step-2_2015-01-23.png


Step 3: Now this new box should be assign to new created module position name and it needs some basic configuration settings.

step-3_2015-01-23.png


Now you have to assign new position to new "example" module position and choose its style from list.

step-3b.png


Remember to Apply settings each time. At the end, you have to SAVE all changed layout to make it work.

step-4.png


Since then you can add modules from Module Manager also to this "example" position.
No pain no gain! Accept the pain, future will be fruitful!
The administrator has disabled public write access.
The following user(s) said Thank You: Péter Barlabás

New position in template 11 years 1 month ago #1058

  • Péter Barlabás
  • Péter Barlabás's Avatar
  • OFFLINE
  • Senior Member
  • Posts: 41
  • Orders: 1
  • Download: 7
  • Thank you received: 2
  • Karma: 1
Hello!
It's working, thank you!

Best regards:
Péter
The administrator has disabled public write access.
Leather Purses & Handbags, Women’s Crossbody Bags, Tote Bags for Women, Leather Backpacks, Men’s Wallets & Card Cases, Official OLEVS Website, OLEVS Couple Watches, OLEVS Women's Watches, OLEVS Men's Watches, OLEVS Watch, OLEVS Watches