[TYPO3-english] Content showing inside div element problem
Loek Hilgersom
loek at netcoop.nl
Wed Apr 25 15:19:19 CEST 2012
Hi Toni,
You could try something like this:
lib.contentRows = COA
lib.contentRows {
10 < styles.content.get
10.wrap = <div id="box col2">|</div>
10.select {
begin = 1
max = 4
}
20 < .10
20.select.begin = 5
30 < .10
30.select.begin = 9
.... etc.
}
Then just copy the lib into your marker.
All content comes from column 'normal' in this example. Of course you have a
limited amount of rows this way, but easily extendible and in most cases that
won't be a problem I guess (a looping construction may be possible but can't get
my head around that now).
Hth.,
Loek
On 04/24/2012 05:27 PM, Toni Andric wrote:
> Hello, i am new to t3 and TS and i have a little problem and need some help.
>
> I have set subpart markers inside <div id="box col2"> </div> and content i write
> in BE is showen in it, thats fine.
>
> What i want is when i add new content in BE below existing one to see that new
> content in ANOTHER <div id="box col2></div> which have float left on em so they
> nest on each other 4 boxes in row.
>
> "BOX" has border and shadow so 2nd content should be shown in new box to the
> right side of 1st, 3rd to the right of 2nd etc. (4 boxes / line) instead of all
> content going in 1st box and just scals down growing in height.
>
> I can set so each column takes content from left, normal, right, border and
> thats fine, but when i add new content below the box in FE just scales down,
> grows in height and is not in new box but the one from its upper content.
>
> I am using JQuery Isotope and Masonry plugins.
>
> Thx in advance.
>
More information about the TYPO3-english
mailing list