Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Navigation Items

William edited this page Jul 31, 2015 · 5 revisions

You can add navigation items in the Modules LaravelcpServiceProvider.php boot() function.

NavigationHelper::Add(['nav' => 'main', 'sort' => '0',  'link' => url('/dashboard'), 'title' => trans('lcp::nav.dashboard'), 'icon' => 'fa-dashboard']);

NavigationHelper::Add

  • nav: main, navbar-left, navbar-right
  • sort: int, the order you want them sorted
  • link: the href
  • title: in between
  • icon: the font-awesome icon [required atm]
Clone this wiki locally