Be part of the future of TYPO3! Support Gridelements now and unlock exclusive early access to v13! The well-established Gridelements V12 elevates TYPO3 by bringing grid-based layouts to content elements, with powerful features like advanced drag & drop and real references. Supercharge your workflow and make daily tasks easier. Sponsor us here:
I didn't find a better option than calling the ColgroupCol partial recursively until we reach the target colCount. I'm not entirely sure why Fluid doesn't natively offer a while ViewHelper, and the for one is actually closer to a foreach in php (it expects an array as parameter).
If you think of any better way to implement it, let me know! :smiley:
Fixes https://github.com/CodersCare/gridelements/issues/53
I didn't find a better option than calling the ColgroupCol partial recursively until we reach the target
colCount
. I'm not entirely sure why Fluid doesn't natively offer awhile
ViewHelper, and thefor
one is actually closer to aforeach
in php (it expects an array as parameter).If you think of any better way to implement it, let me know! :smiley: