Skip to content
Code-Schnipsel Gruppen Projekte
Commit 81ce071f erstellt von Jan Wennrich's avatar Jan Wennrich
Dateien durchsuchen

PromoSliderWallpaper2Content only uses desktop's slides by default (#88)

Übergeordneter 7a017d4d
No related branches found
No related tags found
1 Merge Request!5Feat only desktop slides by default
...@@ -461,6 +461,12 @@ ...@@ -461,6 +461,12 @@
<locale group="quiqqer/bricks" var="brick.control.promoslider.settings.desktopslides"/> <locale group="quiqqer/bricks" var="brick.control.promoslider.settings.desktopslides"/>
</setting> </setting>
<setting name="isMobileSlidesEnabled" type="hidden"
data-qui="package/quiqqer/bricks/bin/Controls/Slider/ToggleMobileSlidesSetting"
>
<locale group="quiqqer/bricks" var="brick.control.promoslider.settings.isMobileSlidesEnabled"/>
</setting>
<setting name="mobileslides" type="hidden" <setting name="mobileslides" type="hidden"
data-qui="package/quiqqer/bricks/bin/Controls/Slider/PromosliderSettingsOnlyContent" data-qui="package/quiqqer/bricks/bin/Controls/Slider/PromosliderSettingsOnlyContent"
> >
......
...@@ -27,17 +27,18 @@ public function __construct($attributes = array()) ...@@ -27,17 +27,18 @@ public function __construct($attributes = array())
// default options // default options
$this->setAttributes(array( $this->setAttributes(array(
'title' => '', 'title' => '',
'text' => '', 'text' => '',
'class' => 'quiqqer-bricks-promoslider-wallpaper2Content', 'class' => 'quiqqer-bricks-promoslider-wallpaper2Content',
'nodeName' => 'section', 'nodeName' => 'section',
'data-qui' => 'package/quiqqer/bricks/bin/Controls/Slider/PromosliderWallpaper', 'data-qui' => 'package/quiqqer/bricks/bin/Controls/Slider/PromosliderWallpaper',
'role' => 'listbox', 'role' => 'listbox',
'shownavigation' => true, 'shownavigation' => true,
'showarrows' => 'showHoverScale', 'showarrows' => 'showHoverScale',
'autostart' => false, 'autostart' => false,
'delay' => 5000, 'delay' => 5000,
'template' => dirname(__FILE__) . '/PromosliderWallpaper2Content.html' 'template' => dirname(__FILE__) . '/PromosliderWallpaper2Content.html',
'isMobileSlidesEnabled' => false
)); ));
$this->addCSSFile(dirname(__FILE__) . '/PromosliderWallpaper2Content.css'); $this->addCSSFile(dirname(__FILE__) . '/PromosliderWallpaper2Content.css');
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren