Dynamic colums - joomla template


Author Message
Ivar hofseth

Posted: 1/22/2009
Quote message 

I wonder if there is any possibility to create a template with three columns (left, middle and right), and when i create pages that only use two of them (left and middle, middle and right), the middle be wider, or if both left and right is empty middle column take the whole area??

Not very good explained, but...:-/
 
Herb200mph

Posted: 1/22/2009
Quote message 

If you get the free template "Alledia Bolt" you can grab its code for column arrangements, along with the CSS, and add it to the Joomla template generated by Artisteer.

Additionally, the multiple user modules that show/hide based on which are published can also be included in the template with a quick copy/paste from most all other templates.

As soon as Artisteer comes out of beta, our company will be providing a "customization" service and template add-ons with these kind of features.
 
Jim

Posted: 1/22/2009
Quote message 

I think what you mean is collapsible modules?

I am also "struggling" with this. What I wanted to do is put a forum in a wrapper and give it the whole width of the page.

Below is what I have done that works on at least one Joomla template I have built. I'm still testing on another template. (I haven't tried in WP yet). The code is probably not the best or most elegant, but it is a work in progress. Maybe it will help you.

/*----------------------------------------------------------------------------------------------------*/ /*To make the content container fluid, set the width of the sidebars and content pane in the css, changing them  from px to %. I also copied the ".contentLayout .content" and renamed it to ".contentLayout .contentwide" and changed it's width to 99%*/ /*----------------------------------------------------------------------------------------------------*/   .contentLayout .contentwide {   

position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 99%;
}

.contentLayout .content {
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 70%;
}

.contentLayout .sidebar1 {
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 30%; }

/****And then I updated the index.php to first check if a mod has been published to the positions and then use the appropriate contentLayout accordingly****/

<div class="contentLayout">
<div class="sidebar1">
<jdoc:include type="modules" name="left" style="artblock" />
</div>
<?php if($this->countModules('left')) : ?> <div class="content">
<?php endif; ?>
<div class="contentwide">

 
Phil

Posted: 1/22/2009
Quote message 

@Herb200mph

Are you saying that after this beta version goes production you will be offering a Pay-for-service to help customize templates and a extra fee addon's to the software to provide these common template features?

I would hope that this functionality get built into the product.
 
Hervé Moser

Posted: 3/20/2009
Quote message 

Hello

I also think the ability to produce code supporting dynamic columns should be part of Artisteer. We should be able to design a three-column template and use i.e. only the firts two ones on certain pages. The place normally used by the third column should then automatically be taken by the second column to offer more space.

This is a standard option I use in all of my templates. Was about to buy this amazing product, but as long as it doesn't support this it will be useless to me. Looking forward seeing Artisteer supporting this...
 
jennifer

Posted: 3/22/2009
Quote message 

Quote Ivar hofseth:

I wonder if there is any possibility to create a template with three columns (left, middle and right), and when i create pages that only use two of them (left and middle, middle and right), the middle be wider, or if both left and right is empty middle column take the whole area??

Not very good explained, but...:-/


Explained here: http://nodwell.net/in-dev/118-joomla-template-tutorial-collapsible-columns