INFORMATICS

The Best

How to add a new entry modules for joomla.

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

How to add a new entry modules for joomla.

Module positions - areas in which pages can be placed Joomla modules are set in the main template file - index.php.
To add your own position changes should be made in the file templateDetails.xml and index.php.
In the editor, open the file "<katalog_joomla>/templates/new_templates/templateDetails.xml"
and add an entry position for example. <position> left </ position>

<Positions>
   
<Position> breadcrumb </ position>
   
<Position> left </ position>
   
<Position> right </ position>
   
<Position> top </ position>
   
<Position> user1 </ position>
   
<Position> user2 </ position>
   
<Position> user3 </ position>
   
<Position> user4 </ position>
   
<Position> footer </ position>
   
<Position> debug </ position>
   
<Position> syndicate </ position>
   
<Position> moja_nowa_pozycja </ position>
</ Positions>

All current module positions you can see, by adding at the end of the website address "?tp = 1" ("Http://www.twoja_witryna.com/?tp = 1").

The next step is adding an entry to the file "<katalog_joomla> /templates/new_templates/index.php"

we search for example. often used div whitebox "<div id =" whitebox ">"
and insert the line below it
<Jdoc: include type = "modules" name = "left" style = "xhtml" /> where the left is our new position.
our line will look like this:
<Div id = "whitebox">
<Div id = "leftcolumn" style = "float: left;">
<Jdoc: include type = "modules" name = "left" style = "xhtml" />
</ Div>
</ Div>

After entering the website address with a note "? Tp = 1", you will see a new entry.

Search