Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

Link to "Page on the site" - shows only tree of default locale

Go to End

3 Posts   1531 Views


Community Member, 11 Posts

5 May 2010 at 9:33pm

After upgrading to 2.4.0 got following issue: in the CMS, when trying to add link of type "Page on the site" in the "Page" dropdown shows only site tree in default ( Translatable::set_default_locale("en_US"); ) locale, no matter of page locale.


Community Member, 11 Posts

5 May 2010 at 10:28pm

Temporary solved with replacing TreeSelectorField.js with an older one, from rc2


Community Member, 14 Posts

23 June 2010 at 1:25am

Edited: 23/06/2010 2:38am

Have the same Problem.
What a bug...
Problem is in file TreeSelectorField.js on Line 194 to 195.
The selector

var localeField = jQuery(this.ownerForm()).find(':input[name=locale],:input[name=Locale],:input[id=Form_EditForm_Locale]');

localeField.val() on line 195 gives back an undefined.
I have commend out both Lines and insert this one
if($('Form_EditForm_Locale')) {ajaxURL += "&locale=" + $('Form_EditForm_Locale').value;}

Now the tree is shown in the right language.