Joomla! International
Welcome, Guest
Please Login or Register.
Lost Password?
Re:my own joomla website (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Re:my own joomla website
#31
my own joomla website 2007/09/15 16:47  
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?
  The administrator has disabled public write access.
#32
Re:my own joomla website 2007/09/17 16:06  
justyna wrote:
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?



Hello!
It can be done by many ways. First, you can do your template on divs. Then if div will be empty, wouldn’t show at all. But it can be done on tables too. You need only to stay left and right column without static width parameter, and center column with width=”100%”. It should be good that way too.
  The administrator has disabled public write access.
#33
Re:my own joomla website 2007/09/17 16:08  
markus wrote:
justyna wrote:
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?



Hello!
It can be done by many ways. First, you can do your template on divs. Then if div will be empty, wouldn’t show at all. But it can be done on tables too. You need only to stay left and right column without static width parameter, and center column with width=”100%”. It should be good that way too.


I’m just looking in www.salvagedata.com page source and there are tables with “static width parameters”, so it must be some other way to do it with tables………
  The administrator has disabled public write access.
#34
Re:my own joomla website 2007/09/17 16:10  
justyna wrote:
markus wrote:
justyna wrote:
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?



Hello!
It can be done by many ways. First, you can do your template on divs. Then if div will be empty, wouldn’t show at all. But it can be done on tables too. You need only to stay left and right column without static width parameter, and center column with width=”100%”. It should be good that way too.


I’m just looking in www.salvagedata.com page source and there are tables with “static width parameters”, so it must be some other way to do it with tables………


Well, you’re wright. I think, that they could do it by inserting more php code In templare source. It must be supported by “if” instructions…. It can be look like that:

<?php if (mosCountModules( "left" )) { ?>
<div><?php mosLoadModules ( 'left' );?></div>
<?php } ?>

when you use this idea for all columns, then it should works in way that you wanted….if there will be any problems, css should handle it.
  The administrator has disabled public write access.
#35
Re:my own joomla website 2007/09/17 16:12  
markus wrote:
justyna wrote:
markus wrote:
justyna wrote:
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?



Hello!
It can be done by many ways. First, you can do your template on divs. Then if div will be empty, wouldn’t show at all. But it can be done on tables too. You need only to stay left and right column without static width parameter, and center column with width=”100%”. It should be good that way too.


I’m just looking in www.salvagedata.com page source and there are tables with “static width parameters”, so it must be some other way to do it with tables………


Well, you’re wright. I think, that they could do it by inserting more php code In templare source. It must be supported by “if” instructions…. It can be look like that:

<?php if (mosCountModules( "left" )) { ?>
<div><?php mosLoadModules ( 'left' );?></div>
<?php } ?>

when you use this idea for all columns, then it should works in way that you wanted….if there will be any problems, css should handle it.


thanks for your help
  The administrator has disabled public write access.
#36
Re:my own joomla website 2007/09/17 16:14  
justyna wrote:
markus wrote:
justyna wrote:
markus wrote:
justyna wrote:
Hi!
I’m making my own joomla website now, and I wander how to do a good template…I’ve made template for my site, with 3 columns: left for menu, center for content items and right for some modules, but I have one problem. When I turn off main menu module, center part stays the same as before, and left column are clear but it still there. I want to do sth, to get center part wider, when I turn left modules off. I’ve seen sth like that on www.salvagedata.com, on front page there is only two columns, but when you click on any link in top menu then there is three columns….how should I do that? How this template on www.salvagedata.com was done?



Hello!
It can be done by many ways. First, you can do your template on divs. Then if div will be empty, wouldn’t show at all. But it can be done on tables too. You need only to stay left and right column without static width parameter, and center column with width=”100%”. It should be good that way too.


I’m just looking in www.salvagedata.com page source and there are tables with “static width parameters”, so it must be some other way to do it with tables………


Well, you’re wright. I think, that they could do it by inserting more php code In templare source. It must be supported by “if” instructions…. It can be look like that:

<?php if (mosCountModules( "left" )) { ?>
<div><?php mosLoadModules ( 'left' );?></div>
<?php } ?>

when you use this idea for all columns, then it should works in way that you wanted….if there will be any problems, css should handle it.


thanks for your help


ok have a nice day
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
get the latest posts directly to your desktop