Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Silverstripe page relation in different languages

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 692 Views
  • spankmaster79
    Community Member
    46 Posts

    Silverstripe page relation in different languages Link to this post


    I have created a Link DataObject to automatically let users create a reference to a different page in the Frontend. I use two languages in the frontend, german and englisch. In the popup I creat a dropdown to select the pages

    public function getCMSFields_forPopup()
    return new FieldSet(
    new TextField('Titel'),
    new TextField('URL', 'Externer Link'),
    new SimpleTreeDropdownField('PageLinkID', 'Interner Link', 'SiteTree')

    But I only get the german pages in the dropdown. Tried to change the admin language to english but no change. The database seems to only return the german pages...

    Any clue?

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.