[TYPO3-english] 12 image columns to bootstrap site

Katja Lampela katja.lampela at lieska.net
Fri Jan 9 08:02:49 CET 2015


Hi,

TYPO3 6.2.9
bootstrap_core 1.2.0
bootstrap_grids 1.0.1
bsdist 1.1.1

One ot the greates things in TYPO3 has been the easiness to create 
simple image galleries with the default content element Images (or Text 
& Images) -> Appearance -> Number of Columns.

Now in my installation there was originally 1-8 columns to choose from, 
but the columns 5,7,8 aren't really working. It seems their rendering is 
not defined (somewhere?) because the default wrap is added to them:

tt_content.image.20.addClassesCol.override.cObject.10.default.value = 
col-md-12

I want to have 12 columns (which is the natural maximum with bootstrap) 
and all of them work somehow if not perfectly.

I added the columns 9-12 with this in page tsconfig:
TCEFORM.tt_content {
     imagecols.addItems {
       9 = 9
       10 = 10
       11 = 11
       12 = 12
     }
}


This is my typoscript setup at the moment (found out with TSOB), but the 
addings I've made have no effect:

tt_content.image.20.addClassesCol.override.cObject.10 {
   2.value = col-md-6 col-sm-6
   3.value = col-md-4 col-sm-4 col-xs-6
   4.value = col-md-3 col-sm-4 col-xs-6
   6.value = col-md-2 col-sm-3 col-xs-4
#these I have added but with no effect on anything
   5.value = col-md-2
   7.value = col-md-1
   8.value = col-md-1
   9.value = col-md-1
   10.value = col-md-1
   11.value = col-md-1
   12.value = col-md-1
}

So, my question is: Where (else) is the image column rendering defined?

Thank you for any hint!

-- 
Kind regards,
Katja Lampela
www.lieska.net


More information about the TYPO3-english mailing list