/Codeigniter-breadcrumbs

Small breadcrumb library for CodeIgniter

Primary LanguagePHP

Breadcrumbs is an small library that helps your manage HTML breadcrumbs with CodeIgniter. * No longer maintained

Instalation

  • Put Breadcrumbs.php in application/library folder
  • Put breadcrumbs.php in application/config folder

Example of use

// load Breadcrumbs
$this->load->library('breadcrumbs');

// add breadcrumbs
$this->breadcrumbs->push('Section', '/section');
$this->breadcrumbs->push('Page', '/section/page');

// unshift crumb
$this->breadcrumbs->unshift('Home', '/');

// output
$this->breadcrumbs->show();

License

Released under the MIT License, Copyright (c) 2012–ω Buti.