I'm running TYPO3 v. 6.1 FLUID/EXTBASE.
With the extension: News system, Key: news.
On the list.html page that show all the news, I can add UL/LI layout, if I in setup have selected to show 6 news/site.
Is it then possible in the list.html page to tell it that:
LI 1 need style
style="position: absolute; left: 0px; top: 0px; height: 258px; transform: translate(0px, 0px);"
LI 2 need style
style="position: absolute; left: 0px; top: 0px; height: 258px; transform: translate(279px, 0px);"
LI 3 need style
style="position: absolute; left: 0px; top: 0px; height: 258px; transform: translate(558px, 0px);"
... to LI 6, all the li don't have a number, but here I ref. to the 6 news/site i have set in the setup.
so i can make a gridview of 6 news in 2 rows, with 3 columns ?
You could use iteration in the each-viewhelper like
but you have to add this conditions to all items. else you could use the cycle-viewhelper to define columns like this:
here you just have to add conditions to each column. i would add just classes by condition, not the whole li-tag but the code above is nicer to read i think.