Documentation

After Installation:

  1. Add an auto-nav to your page and configure it to show the part of your site tree you want in the accodian. 
  2. Update/save the block and go back to edit mode where you're looking at the page and highlighting blocks.
  3. Click the auto-nav you just added, but instead of edit, hit Custom Templates
  4. Choose Accordion and enjoy :)


Custom Attributes:

After applying the 'Accordion Menu Attribute' template within the 'Custom Template' section of the 'Auto-Nav' block options, now you need to set-up your 'Accordion Menu' attributes for the custom backgrounds and text colours for each menu item.

Ok, where are they? They are located within Dashboard / Sitemap / Properties OR Attributes (of selected page) / Custom Attributes. You will see the attributes 'Accordion Menu Background' and 'Accordion Menu Text'.

Below you will see example code for the above attributes, this is aimed at users who dont have CSS experience to push you in the right direction;

Accordion Menu Background. Learn more?

// This is setting an image, position, repeat and colour in that order
url(/images/construction/main-background.gif) center center repeat #fff

Accordion Menu Text Colour Example. Learn more?

// This is red in HEX colour value
#cc0000


Accordion Menu Stand-In URL's.

A stand-in URL can be used to disable the root page URL or a parent (contains sub pages). You can also add custom URL's so the page acts similar to a when you add an 'External Link' in site map. To enable this feature simply;

  1. Ensure you have version 2.0 installed.
  2. Navigate to the 'Sitemap' and click on a page.
  3. Enter the page 'Properties' and click on the 'Custom Attributes' tab.
  4. Select the 'Accordion Menu Stand-In URL' attribute.
  5. Enter the value '#' or a 'http://' URL.
  6. Save and Exit your changes.

The Accordion menu will now reconise you have set a stand-in URL and kick this into action.

To Disable URL enter ONLY '#' into the stand-in URL input.
To add custom URL enter a valid URL starting with 'http://'.

NOTICE: If you have installed the latest update (2.0) and do not have the attribute 'Accordion Menu Stand-In URL' do not worry! Just navigate to 'Dashboard > Pages & Themes > Attributes' and add a new TEXT attribute with the following values;

Handle = am_standin_url
Name = Accordion Menu Stand-In URL
Set = **None
Searchable = Field available in Dashboard Page Search

...and then 'Save' the attribute. Now go and play ;)