Jump to content


creating a joomla template


2 replies to this topic

#1 gafadi

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 12 January 2008 - 05:49 PM

hi guys i registered to this site today ..i am a websurfer and website creator .. i am currently more intrested in making joomla templates .. there are plently of css and html templates to turn it to joomla's but i am not able to undertand the module positions i mean how do i add module positions .. i did try to make one .. but it didnt work so well .ok here is the site www.joomlanepal.com do you see that main menu login form and below it they all are assigned in the left module position but they are being displayed at right side of the page ..

index.php line that say about left module position

Quote

</div></td>
<td valign="right"><div id="right">
<?php if (mosCountModules('right')>0) mosLoadModules('right',-2); ?>
</div></td>
</div></td>
<td valign="leftt"><div id="left">
<?php if (mosCountModules('left')>0) mosLoadModules('left',-2); ?>
</div></td> </tr>

and in css

Quote

}

#left {
width: 185px;
padding-top: 20px;
text-align: left;


}
#left div.moduletable h3 {
background-image: url(../images/bg_th.png);
background-repeat: no-repeat;
height: 40px;
font-size: 18px;
line-height: 40px;
}

#maincontent {
text-align: center;
padding-left: 25px;
padding-top: 20px;
padding-right: 20px;
width:587px;
}
#right {
width: 185px;
padding-top: 20px;
text-align: left;



}
#right div.moduletable h3 {
background-image: url(../images/bg_th.png);
background-repeat: no-repeat;
height: 40px;
font-size: 18px;
line-height: 40px;
}

i am not able to figure this out

#2 U1

    Young Padawan

  • Members
  • Pip
  • 245 posts

Posted 19 January 2008 - 01:33 PM

Have you read the docs? Here!

Edited by Unknown1, 19 January 2008 - 01:34 PM.


#3 Trickyclicks

    Young Padawan

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:Pakistan

Posted 07 February 2008 - 04:36 AM

ust change this

Quote

</div></td>
<td valign="right"><div id="right">
<?php if (mosCountModules('left')>0) mosLoadModules('left',-2); ?>
</div></td>
</div></td>
<td valign="leftt"><div id="left">
<?php if (mosCountModules('right')>0) mosLoadModules('right',-2); ?>
</div></td> </tr>

View Postgafadi, on Jan 13 2008, 03:49 AM, said:

hi guys i registered to this site today ..i am a websurfer and website creator .. i am currently more intrested in making joomla templates .. there are plently of css and html templates to turn it to joomla's but i am not able to undertand the module positions i mean how do i add module positions .. i did try to make one .. but it didnt work so well .ok here is the site www.joomlanepal.com do you see that main menu login form and below it they all are assigned in the left module position but they are being displayed at right side of the page ..

index.php line that say about left module position

Quote

</div></td>
<td valign="right"><div id="right">
<?php if (mosCountModules('right')>0) mosLoadModules('right',-2); ?>
</div></td>
</div></td>
<td valign="leftt"><div id="left">
<?php if (mosCountModules('left')>0) mosLoadModules('left',-2); ?>
</div></td> </tr>

and in css

Quote

}

#left {
width: 185px;
padding-top: 20px;
text-align: left;


}
#left div.moduletable h3 {
background-image: url(../images/bg_th.png);
background-repeat: no-repeat;
height: 40px;
font-size: 18px;
line-height: 40px;
}

#maincontent {
text-align: center;
padding-left: 25px;
padding-top: 20px;
padding-right: 20px;
width:587px;
}
#right {
width: 185px;
padding-top: 20px;
text-align: left;



}
#right div.moduletable h3 {
background-image: url(../images/bg_th.png);
background-repeat: no-repeat;
height: 40px;
font-size: 18px;
line-height: 40px;
}

i am not able to figure this out




just change this

Quote

</div></td>
<td valign="right"><div id="right">
<?php if (mosCountModules('left')>0) mosLoadModules('left',-2); ?>
</div></td>
</div></td>
<td valign="leftt"><div id="left">
<?php if (mosCountModules('right')>0) mosLoadModules('right',-2); ?>
</div></td> </tr>






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users