Verwendung: manuelle Slider Initialisierung

Elke's Avatar


06 Jul, 2021 02:07 PM

Produkt: Slider Pro Contao
Contao-Version: 4.9.12

Gibt es die Möglichkeit den Rocksolid Slider manuell zu verwenden?
Also ohne Content Element oder Frontend Template?

Ich möchte ihn mit dem Catalog Manager kombiniert anwenden.

  1. Support Staff 1 Posted by RockSolid Theme... on 07 Jul, 2021 12:09 PM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Ja, diese Möglichkeit gibt es. Der Template-Coder dafür könnte z. B. folgendermaßen aussehen:

        $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/rocksolidslider/js/rocksolid-slider.min.js|static';
        $GLOBALS['TL_CSS'][] = 'bundles/rocksolidslider/css/rocksolid-slider.min.css||static';
        $GLOBALS['TL_CSS'][] = 'bundles/rocksolidslider/css/default-skin.min.css||static';
    <div id="id-ihres-sliders">
        <div>...Slide 1...</div>
        <div>...Slide 2...</div>
            // Slider Optionen
  2. 2 Posted by Elke on 07 Jul, 2021 12:46 PM

    Elke's Avatar

    Vielen Dank!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac