[TYPO3-templavoila] Nifty problem with TV and CONTENT using colPos
Karsten Dambekalns
karsten at typo3.org
Sun Apr 30 11:29:37 CEST 2006
Hi.
I have a site here, where TV is used (basically only to enable the use of
one FCE allowing editors to put two-column content anywhere they like).
The site also has a right and a left column, which (as usual?!) contains
mostly the same on all pages. So I changed the DS to select the content for
those columns with this TS:
10 = CONTENT
10.slide = -1
10.slide.collect = -1
10.slide.collectReverse = 1
10.table = tt_content
10.select.pidInList = this
10.select.orderBy = sorting
10.select.where = colPos = 1
This works like it should, but has one problem: TV doesn't set the colPos to
anything useful. As soon as the colPos get's set to the correct value
(normal, left, right) in the CEs, the display is correct.
So, I'd need one of two solutions I can think of:
a) Make TV set the colPos to a value defined in the DS. That would allow me
to define "left" (0) for my "Left column" field's CEs.
b) Have something like the slide property for TV.
Now, please feel free to tell me a) and/or b) exist already. :) As an
alternative, I'd also gladly accept pointers to possible solutions. ;)
Regards,
Karsten
More information about the TYPO3-project-templavoila
mailing list