codeigniter - How to remove dynamic url breadcrumb using Codeignitor breadcrumb helper -


i using codeigniter breadcrumb helper https://bitbucket.org/cahva/codeigniter-autocrumb/src/59a0dbe8aba2/helpers/breadcrumb_helper.php set simple breadcrumb. 1 of url follows,

http://example.dev/jobs/c0001/j0002

and here c001 stands customer customer_id 1 , j0002 job job_id 2 , 0001 , 0002 dynamic. breadcrumb page shown follows,

home    › jobs  ›  c0001 › j0002  

but need

home    ›  jobs  

is possible trim last 2 (dynamic) sections?

thanks

<?php echo set_breadcrumb('',array($this->uri->segment(2),$this->uri->segment(3))); ?> 

try let me know if works


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -