elcuro / bootstrapnav
There is no license information available for the latest version (1.0) of this package.
1.0
2014-07-04 10:19 UTC
Requires
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2026-03-10 07:20:19 UTC
README
#BootstrapNav plugin for Croogo 1.4+
Croogo menus in Bootstrap3 style. Inspired by original Croogo menu helper.
Installation
- download and copy this plugin to app/Plugin/BootstrapNav
- activate plugin in administration Extesions -> Plugins
Example usage
Default: Set element option in menu call
echo $this->Menus->menu('main', array('element' => 'BoostrapNav.menu'));
Customize: You can call BootstrapNav helper from your 'menu' elements like this
$customs = array(
'mainClass' => 'nav nav-pills',
'mainRole' => 'menulist',
'subClass' => 'dropdown-menu',
'subRole' => 'menu'
);
$options = Hash::merge($customs, $options);
echo $this->BootstrapNav->nestedLinks($menu['threaded'], $options);