AM Menu (Albinomouse Menu) is a plugin designed to enhance and customize Albinomouse template for Shaarli.
- Download the latest release of this plugin.
- Put the
am_menufolder in your Shaarli installation, inplugins/(don't change the name). - Enable the plugin in Shaarli's plugin administration page.
You can also add am_menu to your list of enabled plugins in data/config.json.php
(general.enabled_plugins list).
This should look like:
"general": {
"enabled_plugins": [
"am_menu",
[...]
],
}
The directory structure should look like:
└── plugins
└── am_menu
├── README.md
└── am_menu.php
You can edit manually the file am_menu.php to change the items of the menu.
Only change these elements :
href => ' put the desired url here ', class => ' choose a class (optional) ', id => ' choose a id (optional) ', title => ' choose a title (optional) ', html => ' choose a button's name ',
If you use this plugin with Albinomouse template for Shaari you can also add any Glyphicon into the html element (see example into am_menu.php). CSS and fonts are loaded by the Albinomouse-template.