Jump to:

3461 Posts in 1065 Topics by 740 members

Data Model Questions

SilverStripe Forums » Data Model Questions » bug removing tabs?!

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

Page: 1
Go to End
Author Topic: 2055 Views
  • mabraham
    Community Member
    2 Posts

    bug removing tabs?! Link to this post

    hello community,

    i began working with silverstripe a week ago and i've some questions of course.
    i tried the irc-channel. problems seems i am from germany and when i ask my questions, everybody in nz seems to sleep. ;)
    this is why i post here.

    here is my first questions:

    does anybody know a secure way to remove a tab from the cmsfields?
    removeByName and removeFieldFromTab doesn't work as supposed if you change the interface language.

    if you try to remove the report tab:

    it works, if your interface language is english, but if you switch to german the tab isn't removed. to remove the tab from german interface you will have to remove it using the german name of the tab 'Berichte'.

    that is not, what you expect.



  • mabraham
    Community Member
    2 Posts

    Re: bug removing tabs?! Link to this post

    my fault... sorry for the 'bug' in the title.

    the solution is:

    the _t()-function does the translation for you. see http://doc.silverstripe.com/doku.php?id=i18n&s=translate


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.