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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

2.4 insert link bug on other languages


Go to End


9 Posts   4339 Views

Avatar
ragunalth

Community Member, 14 Posts

19 May 2010 at 9:28pm

Hi

I have a website with multi languages. (English, Portuguese, Chinese)

When I want to "insert a link" to my content on Portuguese/Chinese it only shows the default language links in the drop down tree, in this case English, in the past it used to list the pages from the current language.

I need to know if this is a bug or if there is a setting to fix this.

Thanks in advance.

Attached Files
Avatar
ragunalth

Community Member, 14 Posts

20 May 2010 at 11:27pm

Please let me know if anyone have a fix for this problem.

Avatar
heidgert

Community Member, 16 Posts

28 May 2010 at 8:37am

I'm also interrested in more information regarding this since I have the same problem. Devs?

Avatar
ragunalth

Community Member, 14 Posts

9 June 2010 at 8:13pm

Please help on the problem, is this a bug? and if so how do we get around this.

I have installed clean versions of SS 2.4 and the same problem comes up, I can't imagine that anyone else did not pick this up. This is a huge problem for translatable websites

Thanks in advance

Avatar
dendeffe

Community Member, 135 Posts

24 June 2010 at 2:36am

Seeing this as well. Pretty annoying problem.

Avatar
dendeffe

Community Member, 135 Posts

24 June 2010 at 2:51am

This works fine on an older 2.3.4 site I have running, btw.

Avatar
dendeffe

Community Member, 135 Posts

24 June 2010 at 3:40am

Edited: 24/06/2010 3:41am

Dio5 helped me out a bit on IRC.

The code to build the link selector has changed from 2.3 to 2.4

Saphire/forms/HTMLEditorField.php

In 2.3.4:

new TreeDropdownField('internal', _t('HtmlEditorField.PAGE', "Page"), 'SiteTree', 'URLSegment', 'MenuTitle'),

In 2.4:

$siteTree = new TreeDropdownField('internal', _t('HtmlEditorField.PAGE', "Page"), 'SiteTree', 'ID', 'MenuTitle', true);

Not sure how to get it to load the correct pages, though.

Avatar
Ingo

Forum Moderator, 801 Posts

23 July 2010 at 10:00am

This should be fixed with http://open.silverstripe.org/changeset/107390/ - can you confirm? Please file a bug (or comment on existing ones) for this stuff next time so its more likely to show up on our radar :)

Go to Top