CodersCare / gridelements

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:
https://coders.care/for/crowdfunding/gridelements
GNU General Public License v3.0
5 stars 25 forks source link

[BUGFIX] Use colspan with fluid in page module #54

Open YKWeyer opened 1 year ago

YKWeyer commented 1 year ago

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 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: