Tom
|
hey,
I try to make a 3 column template - the problem is, when go into the kunena FORUM, the modules left and right have to disapear! But in this case, the forum only get a width from the content. When i change the width in css to 100% all other modules are messed up!
i add this to the index.php, but it doesnt work anyway:
Thanks for HELP! <?php if($this->countModules('right')) : ?> <style type="text/css"> .contentLayout .content { width: 179px; } </style> <?php else : ?> <style type="text/css"> .contentLayout .content { width: 100%; } </style> <?php endif; ?> <?php if($this->countModules('left')) : ?> <style type="text/css"> .contentLayout .content { width: 179px; } </style> <?php else : ?> <style type="text/css"> .contentLayout .content { width: 100%; } </style> <?php endif; ?> </head> <body> <div class="PageBackgroundSimpleGradient"> </div> <div class="PageBackgroundGlare"> <div class="PageBackgroundGlareImage"></div> </div> <div class="Main"> <div class="Sheet"> <div class="Sheet-tl"></div> <div class="Sheet-tr"><div></div></div> <div class="Sheet-bl"><div></div></div> <div class="Sheet-br"><div></div></div> <div class="Sheet-tc"><div></div></div> <div class="Sheet-bc"><div></div></div> <div class="Sheet-cl"><div></div></div> <div class="Sheet-cr"><div></div></div> <div class="Sheet-cc"></div> <div class="Sheet-body"> <div class="Header"> <div class="Header-png"></div> <div class="Header-jpeg"></div> <div class="logo"> </div> </div> <jdoc:include type="modules" name="user3" /> <div class="contentLayout"> <?php if($this->countModules('left')) : ?> <div class="sidebar1"> <jdoc:include type="modules" name="left" style="artblock" /> </div> <?php endif; ?> </div> <div class="content"> <?php if ($this->countModules('breadcrumb') || artxHasMessages()) : ?> <div class="Post"> <div class="Post-body"> <div class="Post-inner"> <div class="PostContent"> <jdoc:include type="modules" name="breadcrumb" /> <jdoc:include type="message" /> </div> <div class="cleared"></div> </div> </div> </div> <?php endif; ?> <jdoc:include type="component" /> </div> <?php if($this->countModules('right')) : ?> <div class="sidebar2"> <jdoc:include type="modules" name="right" style="artblock" /> </div> <?php endif; ?> </div>
|