Results 1 to 5 of 5

Thread: [solved] Accordeon wrapper start-stop

  1. #1
    User
    Join Date
    08-04-09.
    Posts
    230

    Default [solved] Accordeon wrapper start-stop

    Well.... It looks so simple, but I just cannot get it to work.

    Single element accordeon, no problem, works perfectly


    But I like to show downloads. So I have multiple downloads elements which each contain quit a lot of pdf files.

    I have tried it all:

    wrapper start -> multiple downloads elements -> wrapper stop

    wrapper start -> downloads element -> wrapper stop
    wrapper start -> downloads element -> wrapper stop
    etc

    wrapper start -> single accordeon element -> multiple downloads elelements -> wrapper stop

    But it does not work.

    Am i doing something wrong?
    Last edited by lostrisq; 08/02/2014 at 13:27.

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,278

    Default

    Quote Originally Posted by lostrisq View Post
    But it does not work.
    Can you elaborate further? What does not work? Did you enable the "j_accordion" or "moo_accordion" template in the page layout? Any JavaScript errors in the console output?
    Contao Community Moderator
    → Support options

  3. #3
    User
    Join Date
    08-04-09.
    Posts
    230

    Default

    Thanks for replying

    It does not work as in it does not work :-) There is no accordeon feature what so ever.
    It just shows all the placed elements in between the wrappers.

    I have ticked moo_accordeon in the page layout.

    (When I use the single element accordeon it works just fine. But then I cannot place whole folders with pdf's as download, have to add them all manually )

    In the backend I can see the the content elements placed inside the wrappers (white content elements in gray background from the wrappers start en stop. So that part goes well, I guess

    Front end I can see
    Code:
    <section class="ce_accordionStart ce_accordion block">
    <div class="toggler active" aria-expanded="true" role="tab" tabindex="0"> </div>
    <div class="accordion" style="padding-top: 0px; border-top: medium none; padding-bottom: 0px; border-bottom: medium none; overflow: hidden; height: auto; visibility: visible; opacity: 1;" aria-hidden="false" role="tabpanel">
    <div>
    I do not see a closing tag.

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,278

    Default

    Can you reproduce this in the Contao online demo, too?
    Contao Community Moderator
    → Support options

  5. #5
    User
    Join Date
    08-04-09.
    Posts
    230

    Default

    ahum....

    ;-D

    I know now what I did wrong. I gave the content element a title instead of the wrapper start.
    So i created no toggler.

    Silly of me I did not look at the demo straight away, comparisson always does the trick.

    Thank you for responding so quickly!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •