Results 1 to 8 of 8

Thread: faqaccordion

  1. #1
    New user
    Join Date
    03-25-10.
    Location
    Boston & San Antonio
    Posts
    28

    Default faqaccordion

    I've installed the faqaccordion extension; however, the accordion functionality isn't appearing. My sense is that the moo_accordion script isn't loading properly.

    You can view the page here: http://scruminc.com/faqs.html

    Although all the FAQs appear on this page, the accordion functionality does not.

    Does anyone have any recommendations? Thank you!

    -Justin-
    Learn more about our agency at http://www.hbagency.com
    Follow the agency on Twitter at http://www.twitter.com/hb_agency
    Follow me on Twitter at http://www.twitter.com/jrh_creative

  2. #2
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: faqaccordion

    There's a error message on page load: "window.addEvent is not a function". That usually means the MooTools core script is not loading. I look in the source and I didn't see a reference to it, so Mootools more/core is not being included on the page.
    Brian

  3. #3
    New user
    Join Date
    03-25-10.
    Location
    Boston & San Antonio
    Posts
    28

    Default Re: faqaccordion

    Assuming my moo_accordion is checked off in my page layout, would there be any other reason(s) why it wouldn't load?
    Learn more about our agency at http://www.hbagency.com
    Follow the agency on Twitter at http://www.twitter.com/hb_agency
    Follow me on Twitter at http://www.twitter.com/jrh_creative

  4. #4
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default Re: faqaccordion

    Do like Medianomaly told you. You have to load mootools-core and -more. This is done automatically if you use fe_page template up to contao 2.11.5
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  5. #5
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: faqaccordion

    Quote Originally Posted by jhastings
    Assuming my moo_accordion is checked off in my page layout, would there be any other reason(s) why it wouldn't load?
    Most likely there's a missing script call in your page template file. Did you customize the fe_page template? Maybe it got removed at some point.

    Look for a line in the <head> tag like this:
    Code:
    <?php echo $this->mooScripts; ?>
    That line should load the core/more scripts.
    Brian

  6. #6
    New user
    Join Date
    03-25-10.
    Location
    Boston & San Antonio
    Posts
    28

    Default Re: faqaccordion

    Thanks gents! Your recommendation worked and the page is acting as expected.

    -Justin-
    Learn more about our agency at http://www.hbagency.com
    Follow the agency on Twitter at http://www.twitter.com/hb_agency
    Follow me on Twitter at http://www.twitter.com/jrh_creative

  7. #7
    New user
    Join Date
    01-09-10.
    Posts
    20

    Default Re: faqaccordion

    Quote Originally Posted by Medianomaly
    Quote Originally Posted by jhastings
    Assuming my moo_accordion is checked off in my page layout, would there be any other reason(s) why it wouldn't load?
    Most likely there's a missing script call in your page template file. Did you customize the fe_page template? Maybe it got removed at some point.

    Look for a line in the <head> tag like this:
    Code:
    <?php echo $this->mooScripts; ?>
    That line should load the core/more scripts.
    Hi, may I follow up on this topic. It seems I am having the same problem. moo_accordion function worked just fine until I upgraded from Firefox 17.1 to 18.0. Now only the first accordion on the page shows up but upon clicking on it with no content.

    Unfortunately, I do not know how to edit the template file (Music Academy). Hence I could not check, yet, on if the
    Code:
    <?php echo $this->mooScripts; ?>
    is present in the <head> section.

    Thanks for your help in advance!

  8. #8
    New user
    Join Date
    01-09-10.
    Posts
    20

    Default Re: moo_accordion and Firefox 18.0

    Hi, it seems I am having a problem with my accordion drop-down content. The moo_accordion function worked just fine until I upgraded from Firefox 17.1 to 18.0. Now only the first accordion on the page shows up but upon clicking on it with no content.

    Thanks for your help in advance!

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
  •