https://github.com/macopedia/maco-nav-menu
Configurable navigation menu for Magento CE
https://github.com/macopedia/maco-nav-menu
Last synced: 11 months ago
JSON representation
Configurable navigation menu for Magento CE
- Host: GitHub
- URL: https://github.com/macopedia/maco-nav-menu
- Owner: macopedia
- Created: 2012-10-09T10:39:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-05-04T09:03:48.000Z (about 10 years ago)
- Last Synced: 2025-07-18T00:31:02.388Z (11 months ago)
- Language: PHP
- Size: 92.8 KB
- Stars: 9
- Watchers: 14
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Macopedia Easymenu
==================
Navigation menu for Magento configurable from the backend (admin panel).
If you set the cache lifetime for a block, e.g.
```
43200
```
Generated menu will not have an "current-page" class for the anhor.
As we don't want it to be cached.
You can still add this class by some little js magic:
```
$('#nav a').each(function () {
var self = $(this);
if (window.location.href === self.attr('href')) {
self.addClass('current-page');
}
});
```