Welcome Guest, Not a member yet? Register   Sign In
Code Igniter Breadcrumbs
#8

[eluser]alan42[/eluser]
I'm using your code from a few posts back. Here's basically how i'm using it:

$this->breadcrumb->addCrumb($carrier);
$data['crumbs'] = $this->breadcrumb->makeBread();

I load the library into every controller i'm using it in (i know that sounds like it should be understood but i don't like taking things for granted, ya know?). I then pass $data onto whatever view.

The only place i don't use makeBread() is on the main page of the site. In that case, the controller only has this:

$this->breadcrumb->addCrumb('main');

I don't use makeBread() in that controller.

I hope that helps clear up where I am.

Many thanks.


Messages In This Thread
Code Igniter Breadcrumbs - by El Forum - 04-23-2008, 08:36 AM
Code Igniter Breadcrumbs - by El Forum - 04-23-2008, 09:31 AM
Code Igniter Breadcrumbs - by El Forum - 04-24-2008, 01:06 AM
Code Igniter Breadcrumbs - by El Forum - 04-24-2008, 02:48 AM
Code Igniter Breadcrumbs - by El Forum - 06-27-2008, 10:14 AM
Code Igniter Breadcrumbs - by El Forum - 09-03-2008, 01:17 PM
Code Igniter Breadcrumbs - by El Forum - 09-04-2008, 06:35 AM
Code Igniter Breadcrumbs - by El Forum - 09-04-2008, 09:05 AM
Code Igniter Breadcrumbs - by El Forum - 09-04-2008, 09:17 AM
Code Igniter Breadcrumbs - by El Forum - 09-04-2008, 09:26 AM
Code Igniter Breadcrumbs - by El Forum - 10-11-2008, 05:56 PM
Code Igniter Breadcrumbs - by El Forum - 12-16-2008, 11:05 PM
Code Igniter Breadcrumbs - by El Forum - 12-14-2009, 07:48 AM
Code Igniter Breadcrumbs - by El Forum - 10-13-2013, 08:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB