Manipulating Breadcrumbs

3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 4, 2012   (RSS)

Re: [Perchpole] Manipulating Breadcrumbs

By Jason - July 4, 2012

Hi Perch,

Try something like this:

EXAMPLE
$numberToRemove = "3";

$siblingLineage = str_replace(":$numberToRemove:", "", $siblingLineage);
$siblingLineage = str_replace("$numberToRemove:", "", $siblingLineage);
$siblingLineage = str_replace(":$numberToRemove", "", $siblingLineage);

---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Manipulating Breadcrumbs

By Perchpole - July 4, 2012

Blimey!

All of that to remove one number!

:os

Perch