Jump to:

3393 Posts in 976 Topics by 852 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: 252 Views
  • perelin
    Avatar
    Community Member
    4 Posts

    ChildrenOf() with Translatable extension Link to this post

    Hi,

    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?

    Thanks!

    252 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.