Jump to:

1999 Posts in 1408 Topics by 613 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: 759 Views
  • Myrdhin
    Avatar
    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

    759 Views
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.