Quick Nav:  Online Store   |   Login | Register

Localization not working for unregistered users

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Anexia
<20 Posts
Posts:5


10/02/2007 5:16 AM  

I have a problem.

I'm using CSS NavMenu with Apollo Localization, but the menus are only localized when a user is logged in, when an anonymous user changes the language in the web the menus don't get localized.

The MLMenu from Apollo behaves correctly but it's not XHTML compliant so I can't use it.

How can I fix this behaviour?

Thanks in advance.

John Mitchell
Posts:3478


10/02/2007 8:50 AM  
Hi Tomas,
I think you are experiencing a bug that was recently discovered. The cached menu was not picking up the language as part of the key.

Send an e-mail to cssMenu AT snapsis DOT com, or just reply directly to the notification of this post and I'll send you an updated DLL.

Anexia
<20 Posts
Posts:5


10/02/2007 9:05 AM  
Thanks John, I just sent an email.

Waiting for the new DLL.

Just copying over the old one will be enough or do I have to make some modifications on my web.config?

Anexia
<20 Posts
Posts:5


10/02/2007 10:12 AM  
I received the DLL and tried it but it's still showing the same behaviour, it seems a cache issue, because if after changing the language I click on another page then the menu gets translated to the new language.

MLMenu works ok though, so I don't think it's really a problem with my dotnetnuke configuration.

Please if you could take a look into what's happening I'd appreciate it.

Thanks.
John Mitchell
Posts:3478


10/02/2007 10:44 AM  
I'm not sure now where the problem is.

Are you saying that if you are not logged in and change the language with the language selector skin object, that the menu does not get translated?
But if you then move to another page the menu is translated?

As a test, try adding CacheTabs="False" in your skin as another property on the menu to disable caching of the NavMenu.
Anexia
<20 Posts
Posts:5


10/02/2007 10:53 AM  
Yes, that's the behaviour, if I'm not logged in and change the language with the language selector skin object the menu remains with the old language, but if afterwards I click on another page in the menu then the menu is translated to the new language when showing the new page.

Anyway CacheTabs="False" fixed the problem, don't know if that's the behaviour you intented or if it's a workaround for the bug, but it works with CacheTabs="False".

Thanks John.
John Mitchell
Posts:3478


10/02/2007 11:01 AM  
I just sent you another DLL. The first one must not have had the latest change for this issue. Please give that a try with CacheTabs="True"

Caching the tabs makes the menu and your site much faster.
Anexia
<20 Posts
Posts:5


10/03/2007 3:18 AM  
Thanks John, this new DLL works like a charm.

Kudos for the great customer support.
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Localization not working for unregistered users



ActiveForums 3.7
Powered by: Snapsis Software