How to add positions in Joomla template | Cuelogic Blog

In joomla template all positions where one can insert a module is depends on template which you are using. You can add custom positions in that any template

I’ll try to explain you how to insert custom position in Joomla template

Add custom positions in Joomla 2.5 template

Code to insert

  • Open the index.php file of the Template you wish to edit
  • Locate the place in the Template where you wish to put the new position.
  • Insert following line
 
  • Open the Template’s TemplateDetails.xml file and locate the
  •  Start and end tags 
    
  • Then add
  • newposition 
    
  • Example
  • 
    
               debug
               
               position-0
    
               position-1
               
               position-2
               
               position-3
    
               position-4
               
               position-5 
              
               position-6
               
               position-7
               
               position-8
               
               position-9
               
               position-10
    
               position-11
               
               position-12
               
               position-13
              
               position-14
               
               position-15
    
               newposition