Technical support This forum is closed.
Version 1.x > Technical support > CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work View modes: 
User avatar
Member
Member
wtijsma - 12/24/2004 11:00:43 AM
   
CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work
CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work

In the Content tab, It still puts the /en-US/ prefix in the URL, wich causes a 404 error.

User avatar
Guest
admin - 12/28/2004 2:47:01 PM
   
Re: CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work
Hi Wiebe,

could you please send us more information about this bug?

Does it happen only with page/menu items document type or also with other document types?

Could you please send us your web.config values related to multilingual support (CMSUseMultilingualSupport, CMSDefaultCultureCode, CMSCombineWithDefaultCulture)?

Thank you.

User avatar
Member
Member
wtijsma - 12/28/2004 3:25:10 PM
   
Re: CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work
Hi Petr,

Yes, it only occurs with page/menu items, and only in the 'content' module tab in 'preview' mode.

I don't have the CMSCombineWithDefaultCulture setting turned on, I'll put it in...

<!--This key indicates that you want to use the default multilingual support.-->
<add key="CMSUseMultilingualSupport" value="true"/>
<add key="CMSDefaultCultureCode" value="en-us"/>

User avatar
Guest
admin - 12/28/2004 4:51:54 PM
   
Re: CMSDesk Bug: (multilingual) Preview in CMSDesk doesn't work
Hi Ryan,

it seems to be a bug (I'm not sure how it got to the final version) and we are sorry for that. We will fix it in the version 1.4.

For now, you can solve it by modifying the file CMSDesk\content\viewframeset.aspx.cs:
Please remove the following condition on line 54:
Strings.LCase( Strings.Trim( culture ) ) != Strings.LCase( Strings.Trim( ConfigurationSettings.AppSettings[ "CMSDefaultCultureCode" ] + "" ) )

Should you need any help with that, please tell me.

Thank you.