Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalization newbie questionLocalization newbie question
Previous
 
Next
New Post
10/26/2006 10:14 AM
 

Hi

I am developing my first DNN 4.3.5 module, which is rather simple. I need localization and have followed the the instructions in the "Localization Guide for DotnetNuke Modules" and supplied resourcekey for all labels and corresponding resx-files. At this time I am working on the View control and have localization working when logged in as admin or host (have not tried other roles - have no other at this time) But, for some reason, when accessing the module through an anonymous user the localization does not step in. The page_load method of the module is almost empty:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
   Try
      If Not Page.IsPostBack Then
      End If
   Catch exc As Exception 'Module failed to load
      
ProcessModuleLoadException(Me, exc)
   End Try
End Sub

I have no idea where to look for the error. I should mention that the footer is translated OK for the page containing the instance of the custom module.

regards
Lars Kohsel

 


Best regards Lars Kohsel Valtech A/S. www.valtech.dk
 
New Post
10/26/2006 11:41 AM
 

Well. I have discovered that I also have a btnClick handler that does not work for the anonymous user - but works fine for the admin and host account.

So the problem probably isn't the localization functiinality

Any ideas are greatfully appreciated.

Thanks
Lars Kohsel


Best regards Lars Kohsel Valtech A/S. www.valtech.dk
 
New Post
11/9/2006 12:12 PM
 
I am having the exact same problem with a module we are developing.

The module works perfectly in my development environment regardless of the user.  On the 4 other DNN instances I have tried it on it works fine when logged in as host or admin, but when logged in as a normal user or as the anonymous user no resources are loaded, and handlers do not work.

Any assistance on this issue will be greatly appreciated.  I thought we were almost ready to deploy this module, but it's completely unusable in this state.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalization newbie questionLocalization newbie question


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out