elcuro / bootstrapnav
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Type:croogo-plugin
Requires
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-12-17 01:37:45 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);