Accordion Menu Apple style - FAQs, Troubleshoot and Tips & Techniques
Written by kksou   
Thursday, 03 September 2009

This is the FAQ for the DirectPHP plugin.


  1. Q: Where do I enter the menu items definitions?
  2. A: This is a plugin. So it's for use with a Joomla article. By default, this plugin is used for displaying a menu within an article.

    To create a menu inside your article, create a new article or open an existing article. Where you want to dipslay the menu, just insert your menu item definitions, such as

    <a href="">General</a>
    - <a href="url1">Introduction</a>
    - <a href="url2">Unique Features</a>
    - <a href="url3">How to Use</a>
    - <a href="url4">Demo</a>
    <a href="">Links</a>
    - <a href="">Google</a>
    - <a href="">Yahoo</a>
    - <a href="">Joomla</a>

Tips & Techniques

  1. Q: How do I have all menu items closed when the menu is first displayed
  2. A: By default, one of the menu item will always be open. If you want all menus to be closed when the menu is first displayed, please do the following

    1. Please go to the folder: plugins/content/ddaccordion
    2. Edit the file: AccordionMenuApplestyle.lib.php
    3. Go to line 51. You will see
    4. onemustopen: true, //Specify whether at least one header 
      should be open always (so never all headers closed)
    5. The default is true. So let's change this from true to false.
    6. Save the file and reload your article.
    7. You might need to clear the cache to force a reload of the javascript.

This is a test

Powered by JoomlaGadgets

< Prev   Next >

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2015. All Rights Reserved