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   1541 Views

Avatar
prawnstar

Community Member, 120 Posts

5 October 2010 at 11:16am

Edited: 05/10/2010 1:14pm

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

Forum Moderator, 474 Posts

5 October 2010 at 11:44am

Add:

SiteTree::$breadcrumbs_delimiter = ' / ';


to your _config.php file.

Avatar
prawnstar

Community Member, 120 Posts

5 October 2010 at 1:14pm

Perfect.

Thanks!

C.b