TemPlaza

TemPlaza, the website built and improved by TemPlaza., JSC. We supply templates and other qualified applications on Joomla and WordPress.

Email: support@templaza.com

How to Create a New Position in Joomla Template

In a Joomla! template, the number of position is always limited. So how can we add more ‘’room’’ for our modules? Well, you will find it easy like a cake after reading this article.

To have a new module position you want, please follow steps by steps below. Also, you can see the video as an example for more details.

In this article, we will take an example in the Ethic Joomla template by TemPlaza. Now, let’s start!

Step 1: Access template folder

First of all, please access the template folder of your site. FTP is usually used in this case.

Then, navigate to the template you want to add new position.

You can find it by following the path: “\templates\template_layout_name”.

In this example, the template_layout_name here is tz_joomla_ethic.

Step 2: Open the file “templateDetails.xml”

Next, open file “templateDetails.xml” with Notepad++.

In this case, let’s open file “\templates\tz_joomla_ethic\ templateDetails.xml

Step 3: Add new position

After opening the file, please find the part here. You can find it quickly by using ‘’CTRL+F”.

Now, please scroll down in the end and add new position before the position end tag .

The syntax here is: new-position-name

And now, just Save the file to end the task.

USE AND IMPLEMENTATION

A Joomla! template displays a set of modules added to a specific position using the <jdoc:include /> statement shown below:

<jdoc:include type="modules" name="name of module position" style="xhtml" />

 For further information about <jdoc:include /> code and how to use it, please see jdoc statements.

Step 4: Check your site

Last but not least, please check your site to make sure that there is no problem in the process. Let’s go to your site, clear all cache and use CTRL+F5 to refresh it.

Next, you can try to create a module and find the new created module position in the Position option.

Or else, finding it in the template layout is a good option.

If you are using the Plazart Framework by TemPlaza, you can also create a new position. It will be autogenerated after the step you add the new position in file “templateDetails.xml”.

Here are all you need to do to have a new position made by yourself in your template. You can see the video at the top of this article as an example.

Thanks for reading and watching!

Comment for this post has been locked by admin.
 

Comments Comments

Login