RozbehSharahi / bootstrap_grids

TYPO3 Extension "bootstrap_grids"
10 stars 38 forks source link

Not able to use Flexslider in Col's #1

Closed wundrkind closed 8 years ago

wundrkind commented 9 years ago

Hey there! Ive been using your extension for a while and noticed that when using the Flexslider Element in a Col Element, its not receiving a proper call i.e. its just using a almost empty script - tag. It'd be awesome if you could take a look at it. Thanks!

flex_bug

PS: Its working fine if I don't use the flexslider it in a column container though.

sirdiego commented 9 years ago

Hey, we also found this problem with Extbase plugins which are cachable. Non-cachable plugins work like a charm. We found that the problem is with the "insertData = 1" option, because the wrap replaces all {...} with "nothing". See: https://github.com/laxap/bootstrap_grids/blob/master/Configuration/TypoScript/setup.txt#L20

In our example the __trustedProperties were destroyed form this error.

laxap commented 9 years ago

The bug was known but I thought it was a problem of ext:gridelements. But after changing wrap/insertData to dataWrap adding a slider element worked. Please check if it works with the latest version 1.1.2. https://github.com/laxap/bootstrap_grids/blob/master/Configuration/TypoScript/setup.txt#L19