Skip to content

CodeIgniter Menu helper for Twitter Bootstrap and Foundation frameworks

Notifications You must be signed in to change notification settings

rostamiani/CI_menu_helper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CI_menu_helper

CodeIgniter Menu helper for Twitter Bootstrap

Instalation

Just add file menu_helper.php to your CIroot/application/helpers/menu_helper.php
Warning This helper uses another one to create class="active" at <li> tag if the link is active site. This helper is included within this file.

Usage

In your view type

variable $menu initialize in your controller with array like this:

$menu = array('controller/method'=>'Item1','submenu'=>array('controller/method'=>'Sub-Item1'),'controller/method'=>'Item2');

This menu code will be like this:

About

CodeIgniter Menu helper for Twitter Bootstrap and Foundation frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%