Hello,
i thought let give a try at FuelPHP
So i created a crumbpath / breadcrumbs package for you guys. It is a simple package but i see alot of site's that misses
this functionality. Hopefull it stimulates developers to implement a breadcrumb to there site.
The package: https://github.com/rbrussaard/fuel-crumbpath
It is very easy to use
Add item to collection
\Crumbpath::add_item('Lorem', 'lorem');
title, url
Cast crumbpath to html
\Crumbpath\Crumbpath::to_html();
Set custom view
\Crumbpath::set_view(\View::factory('html/crumbpath'));
I also got a question, is there a method to get the base / default url of the site installation?
Enjoy, and thanks in advance for your answers.
In your view, the "Home" link has no href, so it links to the current page, not the homepage. And I think you should not hardcode this, some may not want a home link, or don't speak English and use something else than "Home".
I was thinking to add this by config settings. So you set your own values as home link.
Now it is possbile to use a custom view where u can change this ofc.