View Single Post
  #3 (permalink)  
Old 03-16-2008, 01:35 PM
Latina.ecu's Avatar   
Latina.ecu Latina.ecu is offline
Newbie
 
Join Date: Mar 2008
Location: The Netherlands
Posts: 17
Credits: 0
Rep Power: 3
Latina.ecu is on a distinguished road
Send a message via MSN to Latina.ecu
Default Re: Joomla template design (newbie)

Hi Jordan: well i must confess that adding the module positions to the index .php have been the hardest part, i want to have all possible module position available in my template.

something like in this screenshot


i have added the module positions in the xml file, and i understand this positions must be definied in the template itself, i think the code would be something like this

Code:
<!-- BEGIN: newposition -->
  <div id="newposition" >

   <div class="newposition-class">
    <jdoc:include type="modules" name="top" style="xhtml" />
   </div>   

 </div>
  <!-- END: newposition-->
if the code is wrong please let me know

the problem is that it seems that i can not place the position/module code as simple as "between head or body", they must be in a specific place in the template i do not get yet the way it works, my lack of coding knowledge is obvious at this point.

Or is it possible to add the positions just one after another to index.php file like in the xml file?

xml.file
Code:
#
  <positions>
#
    <position>left</position>
#
    <position>right</position>
#
    <position>top</position>
#
    <position>banner</position>
#
    <position>header</position>
#
    <position>bottom</position>	
#
    <position>footer</position>
#
    <position>pathway</position>
#
    <position>user1</position>
#
    <position>user2</position>
#
    <position>user3</position>
#
    <position>user4</position>
#
    <position>user5</position>
#
    <position>user6</position>
#
    <position>inset</position>
#
    <position>debug</position>
#
    <position>search</position>
#
    <position>debug</position>
				
	
    </positions>
#
some hints would be appreciated

Last edited by Latina.ecu; 03-16-2008 at 01:38 PM.
Reply With Quote