contao/core — Issue #3958: More flexible columns framework
Author: Ruudt
Created: 2012-02-17 15:45:21+00:00
State: open

The current framework will always display left and right columns if they are selected in the current layout. This also means that if the column contains no content an empty column is displayed. An extra option can make this a lot more flexible, eliminating the need for multiple layouts to deal with different combinations of columns.

I think an extra checkbox should be added called "Hide empty side columns". When checked the system calculates a different margin and width for the main column to fill out the missing column. The column HTML does not need to be included when empty in this case.

Additionally I'd like to have the following classnames in the body class tag: rightColmn, leftColumn and oneColumn/twoColumns/threeColumns. These will help styling when I disable (parts of) the framework, which I normally do.