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.

Customising the CMS

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


3 Posts   980 Views


5 May 2010 at 9:33pm Community Member, 11 Posts

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.


5 May 2010 at 10:28pm Community Member, 11 Posts

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


23 June 2010 at 1:25am (Last edited: 23 June 2010 2:38am), Community Member, 9 Posts

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.