title: Removing UID from breadcrumbs in CodeIgniter
body: <p>I made breadcums automatically on CodeIgniter but, on the user profile editing view, my uuid is shown as uri->segment. I think It will look cleaner without the uuid. How can I skip, delete or hide it?</p>
  
  <p>MY url</p>
  
  <p><a href="http://localhost/myproject/user/edit/0004055ac42e42bcb57183646e84ff05" rel="nofollow noreferrer">http://localhost/myproject/user/edit/0004055ac42e42bcb57183646e84ff05</a></p>
  
  <p>Breadcumbs with helper</p>
  
  <blockquote>
    <p>HOME > User > edit > 0004055ac42e42bcb57183646e84ff05</p>
  </blockquote>
  
  <p>I expect it</p>
  
  <blockquote>
    <p>HOME > User > edit </p>
  </blockquote>
  
  <p>Helper breadcumbs:</p>
  
  <pre><code>&lt;?php
  if(!function_exists('generateBreadcrumb')){
  function generateBreadcrumb(){
    $ci = &amp;get_instance();
  
    $i=1;
    $uri = $ci-&gt;uri-&gt;segment($i);
    $link = '
    &lt;ol class="breadcrumb"&gt;
       &lt;li&gt;&lt;a href="'.site_url().'"&gt;&lt;i class="fa fa-home"&gt;&lt;/i&gt; Home&lt;/a&gt;&lt;/li&gt;';
  
    while($uri != ''){
      $prep_link = '';
    for($j=1; $j&lt;=$i;$j++){
      $prep_link .= $ci-&gt;uri-&gt;segment($j).'/';
    }
  
    if($ci-&gt;uri-&gt;segment($i+1) == ''){
      $link.='&lt;li class="active"&gt;&lt;a href="'.site_url($prep_link).'"&gt;';
      $link.=$ci-&gt;uri-&gt;segment($i).'&lt;/a&gt;&lt;/li&gt; ';
    }else{
      $link.='&lt;li&gt;&lt;a href="'.site_url($prep_link).'"&gt;';
      $link.=$ci-&gt;uri-&gt;segment($i).'&lt;/a&gt;&lt;span class="divider"&gt;&lt;/span&gt;&lt;/li&gt; ';
    }
  
    $i++;
    $uri = $ci-&gt;uri-&gt;segment($i);
    }
      $link .= '&lt;/ol&gt;';
      return $link;
    }
  }
  
  ?&gt;
  </code></pre>