Extensions > subcolumns

Subcolumns

[subcolumns]

Subcolumns to seperate an article in several columns

ADVISE: From version 2.1.x, the subcolumns only work with contao 3.0.0 and later.

ADVISE: Before updateing an older version please make an database backup.

 

1. What's the extension made for

The Subcolumns-Extension provides a simple way to add columns to an article in typolight.
These columns are added as content elements. The system generates some content elements that show the different seperators for the columnset.

In the new version 2.0.0 rc1 introduces columns to integrate into forms or as a module. Form elements work the same as content elements. The module works like a page layout. It can have multiple other modules associated to a column.

With version 2.0.0 rc1 you can choose from the code of YAML 3 and YAML 4. You can even set up your own css configuration to use with the subcolumns. The used configuration is set in the contao configuration.

The configuration array looks like the following example:

 

$GLOBALS['TL_SUBCL'] = array(

'yaml3' => array(

'label'=> 'YAML 3 Standard', // label for this configuration

'scclass' => 'subcolumns', // class of the wrapping container

'equalize' => 'equalize', // is there a class for equal hights columns?

'inside' => true, // are inside-containers used?

'gap' => true, // do you want to give the opportunity to add a gap between two columns?

'files' => array( // the used css files

'css'=> 'system/modules/subcolumns/html/yaml3/subcols.css',

'ie'=> 'system/modules/subcolumns/html/yaml3/subcolsIEHacks.css'

), 

/*

* Define the sets that can be used as an array.

* Each array contains two or more arrays with the definition for the single columns.

* The key is used as the label in the select menu.

* Example: '50x50' => array(array([class(es) for the first column],[optional classes for the inside container]),array([class(es) for the second column],[optional classes for the inside container]))

*/

'sets'=> array(

'20x20x20x20x20' => array(array('c20l','subcl'),array('c20l','subc'),array('c20l','subc'),array('c20l','subc'),array('c20r','subcr')),

[...]

'15x85' => array(array('c15l','subcl'),array('c85r','subcr'))

)

)

)



2. Installation / Update


To install or update the extension, just copy the "subcolumns" directory from this downloadarchiv to the modules directory of you typolight installation and run the install-tool.

As the architecture of the extension wasn't touched for the new release, ther shouldn't be any problems when you update the extension. Even though, you should make an backup of the database.

3. Howto

A columnset is added as an content element to an article. You select the set of coulumns you want to add, i.e. 30%/70%. Then you select an optional name for the columnset, add an optional gap between the columns. In the last section, you can add an ID and/or css-class for the element.
The extension automatically adds some more elements the build the opener and closer of the different columns.
You place the content, that should be displayed inside one column between two of the elements created by the extension.

In contrast to the 0.x versions, version 1.0 provides the copying of articles and / or new pages correctly.

 

4. License

As the extension uses parts of the YAML-Framework (http://www.yaml.de), it was released under the Creative Commons Attribution 2.0 License (CC-A 2.0) (http://creativecommons.org/licenses/by/2.0/en/)
The Creative Commons license permits both the non-commercial and the commercial use of the framework on the condition that a backlink to the project homepage remains in the layout. For this extension is therefore the following condition:
For the free use of the YAML framework (or parts of it), a backlink to the YAML homepage (http://www.yaml.de) in a suitable place (e.g.: footer of the website or in the imprint) is required.


This could be like this: "Website Layout uses parts of YAML [link:http://www.yaml.de]"

On the YAML home, however, there is also the possibility, to remove this addition by the purchase of a commercial license.

Version
2.1.0-RC1
Type
Free
Release date
14.12.2012
Category
Application
License
CC-A 2.0
Copyright
2008-2013 Felix Pfeiffer : Neue Medien, 2005-2013 Dirk Jesse www.yaml.de
Author
Felix Pfeiffer : Neue Medien (felixpfeiffer) http://www.felixpfeiffer.de
Release notes and change log for 2.1.0-RC1
Other versions

12/14/2012: The subcolumns extension is only working in contao 3.0.0 and above. There where grafical hints added wich column can be filled and the posibility to give a colored hint for columns of a columnset.
11/19/2012: Fixed bugs with copying elements, articles and pages and fixed problems when working with the clipboard estension.
09/15/2012: For the changes see the description.
11/14/2010: Subcolumns now in content elements, forms, and as a module for integration in the page layout. Fixed problems with copy of several pages, articles or content elements. 04/19/2010: The newest version has an update for using the multiple actions in the TL-backend. As it uses functions that where introduced in version 2.8.2 this version is not downwardly compatible with TL before version 2.8.2. 11/16/2009: The new version uses the new implementation from the yaml-version by Dirk Jesse. The sets of 80x20 and 20x80 was added in this version.
Thanx to Frank Hüttner for working over the css-files. 09/08/2009: I added two new colwidths: 60x40 and 40x60. The new version 1.1.1 stable is now prepared for TYPOlight 2.7 RC1. I also added some new features and fixed some bugs in the print sheet, where I forgot some of the additional widths. So some more new features: 1. I added a checkbox to the TYPOlight settings. This lets the subcolumns ce load a edited css file that includes only the additional widths I added. It's made for all users who use the YAML framework instead of the TYPOlight css framework.
In the new version 1.1.0 beta1 several new functions where added to the extension. Most of them should be testet local before giving on the live server.
The most important things are, that now the css-code for the IE to solve some problems, was put into a special file and will be added with conditional comments, so the firefox doesn't give an error.
I also added a new feature of the YAML-framework, that sets all of the columns to the same length.

License

As the extension uses parts of the YAML-Framework (http://www.yaml.de), it was released under the Creative Commons Attribution 2.0 License (CC-A 2.0) (http://creativecommons.org/licenses/by/2.0/en/)
The Creative Commons license permits both the non-commercial and the commercial use of the framework on the condition that a backlink to the project homepage remains in the layout. For this extension is therefore the following condition:
For the free use of the YAML framework (or parts of it), a backlink to the YAML homepage (http://www.yaml.de) in a suitable place (e.g.: footer of the website or in the imprint) is required.
This could be like this: "Website Layout uses parts of YAML [link:http://www.yaml.de]"

On the YAML home, however, there is also the possibility, to remove this addition by the purchase of a commercial license.

Release functionality
10.00
Total functionality
9.67
Release usability
9.00
Total usability
9.33
Release quality
9.00
Total quality
9.44
Release rating
9.33 (2 votes)
Total rating
9.48 (18 votes)
Release downloads
185
Total downloads
4197
Release installs
2488
Total installs
21573
Release updates
370
Total updates
7328
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
3.0.0
3.0.6
3.1.0-beta1
3.1.0-beta2
Name
Version from
Version to
3.0.0
3.4.0
2.3.0
3.1.0
0.1.0
0.1.0
0.1.0
0.1.0
0.1.0-beta1
0.1.0-beta2
Package
Size
Date
110171
24.07.2015 00:49