[TYPO3-english] gridelements and 6.2

Anupam Chatterjee anupam at vrisini.com
Tue Aug 26 19:54:59 CEST 2014


On 8/26/2014 11:16 PM, Katja Lampela wrote:
> Hi,
>
> I wonder if someone could help me to setup following.
>
> I have the backend layout for content element, its id is 1. It has two
> columns, 1 and 2.
>
> I want to achieve
> <div class="row">
>    <div class="col-sm-7">blah first column</div>
>    <div class="col-sm-5">blah second column</div>
> </div>
>
>
> Now ts I have copied and tried to modify from a 4.7 installation is
> below, it doesn't work.
>
>

Hi Katja,

Add here the following line:
tt_content.gridelements_pi1.20.10.setup.1 < 
lib.gridelements.defaultGridSetup

> tt_content.gridelements_pi1.20.10 {
>    setup {
>       1 {
>         columns {
>             1 < .default
>             1 {
>                wrap = <div class="col-sm-7">|</div>
>             }
>             2 < .default
>             2 {
>                wrap = <div class="col-sm-5">|</div>
>             }
>          }
>          wrap = <div class="row">|</div>
>        }
>     }
> }
>

Let me know if it works!

Best regards,
Anupam Chatterjee

--
TYPO3 .... inspiring people to share!

TYPO3 Consultant @ Vrisini Infotech Pvt. Ltd.


More information about the TYPO3-english mailing list