Quick Start
This guide shows a Joomla menu as an accordion in a sidebar in about five minutes.
1. Check your menu
Go to Menus and open the menu you want to show, for example Main Menu. Make sure some items have child items under them. Only items with children open and close.
For a parent that should only open its sub-menu and has no page of its own, create a URL menu item and type # in Link. See Parents without a page.
2. Open the module
- Go to Content > Site Modules.
- Open the unpublished Easy Accordion Menu module, or click New and choose Easy Accordion Menu.
- Give it a Title, such as "Browse".
3. Pick the menu
On the Module tab:
- In Select Menu, pick your menu.
- Leave Base Item on Current, Start Level on 1 and End Level on All.
- Leave Show Sub-menu Items on Yes so every level is in the menu.
4. Choose how it opens
Still on the Module tab, the defaults are a good start:
- Event type: click. Visitors open a sub-menu with the plus icon next to the parent.
- Auto-close open menus: Yes. Only one branch is open at a time.
- Show Toggle Icons: Yes. Keep this on in click mode.
- Count number of child links: Yes. Each parent shows how many links it holds.
See the Module tab for every option.
5. Pick a theme
On the Layout tab, click one of the theme pictures. simple takes its colours from your template. Light and Dark have their own background and text colours. See Themes.
6. Place and publish
- Choose a Position, for example
sidebar-rightin Cassiopeia. - Set Status to Published.
- On the Menu Assignment tab, choose On all pages or the pages you want.
- Click Save & Close.
7. Check it on the site
Open a page of your site where the module is assigned. You see the top-level items of your menu with a plus icon next to each parent. Click a plus icon: the sub-menu slides open and the icon turns into a minus. Open a page inside a sub-menu: on that page the branch is open when the page loads.
Next steps
- Opening and closing: click or hover, and what a click on a parent title does.
- Menu item display: subtitles, icons and images from your menu items.
- Troubleshooting if the menu does not show or does not open.