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:

Form Questions /

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

TableListField headings and translation

Go to End



Community Member, 70 Posts

23 June 2010 at 2:48am

TableListField headings translation doesn't work.

The problem is in TableListField.php file, line 351, in Headings() function :

"Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldTitle) : $fieldTitle,

shoud be :

"Title" => ($this->sourceClass) ? singleton($this->sourceClass)->fieldLabel($fieldName) : $fieldTitle,

I've opened a ticket ( with a patch.
Hope this help :)