Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » ChildrenOf() with Translatable extension

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

Page: 1
Go to End
Author Topic: 320 Views
  • perelin
    Community Member
    4 Posts

    ChildrenOf() with Translatable extension Link to this post


    what is the intended behavior when using ChildrenOf() in a multilanguage page that uses the Translatable extension?

    Since ChildrenOf() takes a url-string as argument and url-strings can (and will) be localized it became pretty much useless, or?

    In my special case I´m generating a menu with something like ChildrenOf(work). In German this needs to become ChildrenOf(arbeit).

    What is the recommended way to go here? Do I have to check for the selected language and map it to the relevant url-string?

    What can be an alternative for building menus from only part of the site tree?


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.