Page 1 of 1
Strange extra <span></span> tags in breadcrumbs pathway
Posted: 16 Sep 2008, 11:27
by misxa
I noticed strange extra <span></span> tags in breadcrumbs pathway, around title which stands for Phoca Gallery Category List...
"Life" Clinic - <span>Photo gallery</span>
If I display only one specific category, the pathway is correct.
Help!!!
Re: Strange extra <span></span> tags in breadcrumbs pathway
Posted: 16 Sep 2008, 13:27
by Jan
??? plase let me know your site with this code...
Re: Strange extra <span></span> tags in breadcrumbs pathway
Posted: 17 Sep 2008, 13:45
by misxa
The website is under development, only localy.
I create menu link: Phoca Gallery Category List Layout
I get this strange problem:
Notice <span></span> tags around menu item title?!
Re: Strange extra <span></span> tags in breadcrumbs pathway
Posted: 17 Sep 2008, 15:29
by misxa
For some reason, breadcrumbs module gets menu item title wrapped in <span></span> tags. I don't know why this happens for category list type of menu item for Phoca gallery.
I changed:
Code: Select all
modules\mod_breadcrumbs\helper.php
Line 30:
Code: Select all
$items[$i]->name = stripslashes(htmlspecialchars($items[$i]->name));
into:
Code: Select all
$items[$i]->name = stripslashes(htmlspecialchars(strip_tags($items[$i]->name)));
Not an elegant solution, but works nevertheless.
Re: Strange extra <span></span> tags in breadcrumbs pathway
Posted: 18 Sep 2008, 16:45
by Jan
??? no idea where the span is comming from ?
