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

This is the FAQ for the DirectPHP plugin.

Troubleshooting

  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

    {Accordion_Menu_Apple_style}
    <a href="http://www.site1.com">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="http://www.site1.com/links">Links</a>
    - <a href="http://www.google.com">Google</a>
    - <a href="http://www.yahoo.com">Yahoo</a>
    - <a href="http://www.joomla.org/">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-2012. kksou.com. All Rights Reserved