Hi,
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?