Project

General

Profile

Actions

Bug #68720

closed

Multiple sliders in flexform

Added by Jan Kiesewetter over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2015-08-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

It is not possible to display more than one slider wizard in flexform.

Flexform code:

                    <settings.slider.slick.autoplaySpeed>
                        <TCEforms>
                            <label>LLL:EXT:content/Resources/Private/Language/locallang_be.xlf:settings.slider.autoplaySpeed</label>
                            <config>
                                <type>input</type>
                                <size>5</size>
                                <default>3000</default>
                                <eval>num</eval>
                                <range>
                                    <lower>1000</lower>
                                    <upper>10000</upper>
                                </range>
                                <wizards>
                                    <autoplaySpeed>
                                        <type>slider</type>
                                        <step>100</step>
                                        <width>200</width>
                                    </autoplaySpeed>
                                </wizards>
                            </config>
                        </TCEforms>
                    </settings.slider.slick.autoplaySpeed>
                    <settings.slider.slick.speed>
                        <TCEforms>
                            <label>LLL:EXT:content/Resources/Private/Language/locallang_be.xlf:settings.slider.speed</label>
                            <config>
                                <type>input</type>
                                <size>4</size>
                                <default>300</default>
                                <eval>num</eval>
                                <range>
                                    <lower>100</lower>
                                    <upper>1000</upper>
                                </range>
                                <wizards>
                                    <speed>
                                        <type>slider</type>
                                        <step>100</step>
                                        <width>200</width>
                                    </speed>
                                </wizards>
                            </config>
                        </TCEforms>
                    </settings.slider.slick.speed>

None of the sliders will be displayed,if I configure more than one.
The HTML of all slider gets generated, e.g.:

<div id="slider-ID0cf3af712c"></div>

The Chrome dev tools show some javascript errors:
Uncaught SyntaxError: Unexpected token <
FormEngine.js:35 Uncaught TypeError: Cannot read property 'FormEngine' of undefined(anonymous function) @ FormEngine.js:35context.execCb @ require.js:1650Module.check @ require.js:866Module.enable @ require.js:1143Module.init @ require.js:774callGetModule @ require.js:1170context.completeLoad @ require.js:1544context.onScriptLoad @ require.js:1671
tceforms.js?1404745796:34 Uncaught TypeError: Cannot read property 'datePickerUSmode' of undefined

If i remove all except one slider wizard the one is displayed no matter which. So it's not a configuration problem.

Tested with 6.2.14 and 6.2.15-dev 71bb83d

Actions #1

Updated by Wouter Wolters over 9 years ago

  • Category changed from Form Framework to Backend API
Actions #2

Updated by Wouter Wolters over 9 years ago

What about an 7.3 or 7.4 installation? The Slider was rewritten in jQuery

Actions #3

Updated by Jan Kiesewetter over 9 years ago

The rewritten slider in 7.3/7.4 don't help me for 6.2 :) but I'll test it.
As you have your "Super Content Element" with all TCA/FlexForm settings, it should work in 7.3+ I hope ;)

Actions #4

Updated by Wouter Wolters over 9 years ago

I know that probably doesn't help you on 6.2 now but that can give me more insight in what is going on. We have ext:styleguide. But that doesn't mean we got every example in there yet. Every contributions in welcome offcourse.

Actions #5

Updated by Georg Ringer over 8 years ago

  • Status changed from New to Closed
  • Priority changed from Should have to Won't have this time

even though it is a valid issue, I still will close it. nobody will fix that for 6.2 which has a totally different formengine code. hope you understand

Actions

Also available in: Atom PDF