I'm having a bit of an issue with a breadcrumb i'm making for a site... I'm relatively new to Kohana so i'm not sure if the way i'm going about this is correct.
I have all my pages with their correct controllers working fine, i needed a breadcrumb at the top of each one, which due to the design had to go at the top of each view - this was getting included using
<?=View::factory('elements/breadcrumb')?>
this however only include the actual view and i want to grab it's controller (and model via the controller) because i need to work out which page were on and change the breadcrumb view accordingly.
I'm been poking around and come across HMVC but i'm not really sure how this works or if it's even what i should be looking at!
Can anyone shed some light on this??
P.S. rather than just using a module someone else has already made, i'd quite like to understand how the hell to do this properly - i'm close, i can feel it!