[Solved] Custom Bread Crumbs Foreach Loop Codeigniter |
I have a problem with my breadcrumbs currently when I am in my help folder the url out puts.
Code: http://localhost/project/admin/common/test?directory=help/sub It should read Code: http://localhost/project/admin/common/test?directory=help Code: <ul class="breadcrumb"> How can I make sure it set the previous directory url correct On my controller code I set the breadcrumbs like so PHP Code: $data['breadcrumbs'] = array();
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Hi,
Here is an idea: PHP Code: $directory_names = explode('/', $this->input->get('directory')); A good decision is based on knowledge and not on numbers. - Plato
(08-09-2017, 02:56 AM)salain Wrote: Hi, +1 That has worked perfect Thank you
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |