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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

cms breadcrumbs customisation


Go to End


3 Posts   973 Views

Avatar
Guy Van Bael

Community Member, 61 Posts

8 February 2013 at 2:18am

Hi,

I set up SS3 with a few gridfield objects. Works fine, but i was wondering if i can change what shows up in the cms breadcrums. Now it shows the ID of the record, but i'd like to change this into something more "human readable". I attached a screenshot.

Does anyone know if this is possible?

Thanks a lot.

Avatar
Devlin

Community Member, 344 Posts

8 February 2013 at 3:24am

You need a small wrapper function in your DataObject.

Something like:

function getTitle() {
	return $this->RijTitle;
}

Avatar
Guy Van Bael

Community Member, 61 Posts

8 February 2013 at 8:22pm

Works like a charm! Thanks for helping me out Devlin