Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » TableListField headings and translation

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

Page: 1
Go to End
Author Topic: 773 Views
  • Myrdhin
    Community Member
    67 Posts

    TableListField headings and translation Link to this post

    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 (http://open.silverstripe.org/ticket/5742) with a patch.
    Hope this help

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.