Organic Snaps
Panel Menu
Site Search
| Sub Page layout |
|
|
|
|
Organica comes with some amazing flexibility as you can see from the demo site. There are two main layouts - the frontPage layout and the subPage Layout. Within the subPage layout you get full control over the positioning and the widths of the four columns that are available when the subPage layout is triggered.
Setting the overall widthThe width of thecontainer on the sub pages is set in the template administrator in Joomla 1.5 and the index.php file in Joomla 1.0. You can choose to set either a % or a px width depending on your needs. When doing this you need to make sure you obey the instructions below for setting the widths of the columns. Percentage widths can have variable results at different screen resolutions so make sure you double check your settings on the front end of you site to make sure the columns dont slip below each other at low screen widths.
Controlling the four columnsThe order in which the columns are displayed are controlled by the layout variable in the template administrator. Combined with the width setting below these layout options mean that you can have any layout variation you want - no more limitations! The code below gives you an idea of how the columns are rendered according to the layout you have chosen.
$layout = "4";
The settings for the widths of the four columns are set in the administrator area of the template in Joomla 1.5 and the index.php file in Joomla 1.0. The widths are set via percentages which gives you the ultimate flexibility in the way that the columns span across the page. There are three groups of width settings depending on the number of columns published on a particular page (see below).
// To compensate for padding and margins the numbers below need to total not more than 86%
Multi Column FlexOrganica is set up to allow you to have a different number of columns per each page, which means you can have pages that have a more dense layout with 4 columns or go for some minimalism and only display one column. The template itself does all of the heavy lifting so you just need to publish the modules you want to use to specific pages and Organica will do the rest. In the template administrator in Joomla 1.5 and the index.php file there are a group of three column widths available for you to set. The three groups relate to the pages that have two, three or four columns published. You still need to obey the rules for the columns widths as described above. If you do not have any modules published to the left, right or inset positions then the template will just display your content in fullwidth mode.
Here are some screenshots of organica in three column mode. ![]() ![]() ![]() ![]() ![]() ![]() ![]()
An example of setting up Organica to use three columnsHere is a step by step process for creating a three column layout with only the left and right module positions.
As you can see its incredibly easy to create your own layout by changing a few simple options. As always you need to be careful with the widths you use and match it across multiple browsers - ie6 Im looking at you! |

Layout









