Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

change breadcrumb delimiter? -solved


Reply

3 Posts   1493 Views

Avatar
prawnstar

5 October 2010 at 11:16am (Last edited: 5 October 2010 1:14pm), Community Member, 116 Posts

ss 2.4.0

I've added:

public static $breadcrumbs_delimiter = " / ";

to /mysite/code/page.php and I still get the ">>" character instead of a slash.

How do I change the delimiter without haxing the core?

C.b

Avatar
simon_w

5 October 2010 at 11:44am Forum Moderator, 474 Posts

Add:

SiteTree::$breadcrumbs_delimiter = ' / ';


to your _config.php file.

Avatar
prawnstar

5 October 2010 at 1:14pm Community Member, 116 Posts

Perfect.

Thanks!

C.b