Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Capturing events of the containers from the module itselfCapturing events of the containers from the module itself
Previous
 
Next
New Post
1/18/2008 9:47 AM
 

Hello,

I need to intercept the Private Sub lblTitle_UpdateLabel(ByVal source As Object, ByVal e As WebControls.DNNLabelEditEventArgs)event that is in /Containers/Title.ascx. Is this possible? I do not want to Hard Code some ressources files and I need to capture the event raised when the user changes the Module title.

I could access the property via MyBase.ModuleConfiguration.ModuleTitle, but now I need to access the event.

Is this possible without changing the Containers source? (I don't want to do that)

Thanks in advance.

 

 

 
New Post
1/18/2008 10:00 AM
 

why do you want to intercept? What is it you want to accomplish

doing it in the container is not the right place (and you should not alter the core btw, as you will loose the ability to upgrade to newer versions)


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/20/2008 12:53 PM
 

What I want to accomplish is to add the ability to localize the Title and the Contento of some modules. Since I didnt want to alter the Text/Html control code I created mine, but I later discovered that the title is an other control completely separated from my module. So as I don't want to kill the ajax edit function, I have to intercept the event so I'll be able to store the Localized value in my table. Then I just pick mine if a value exist for that module in that culture.

If you have a better solution that can be made in some hours, then great.

Btw, I don't want to hard-code the values in ressource files since it won't resolve this problem. Will dnn be fully localisable some day?

Thanks for your quick reply, I checked the Notification icon, but never received it.

 
New Post
1/21/2008 3:56 AM
Accepted Answer 

yes.. dnn will be fully localizable one day. It is on the roadmap for Cambrian, which is the "new and improved" version of DNN, scheduled to be released in 2008. Cambrian will consist of more then one release.

I would not go down the road of trying to support the inline editing functionality of the module title. In fact, i would turn inline editing off alltogether (you can do this from host settings), just to prevent mixups in module title editing.

I implemented a way to localize module titles by using one admin module that can be used to localize a lot of things in your portal. One of the things it can localize is module titles. You can check it out on my site (www.apollo-software.nl), (the module is called MLSkinHelper). The online help explains how to localize module titles: http://www.apollo-software.nl/OnlineHelp/MLSkinhelperHelp/tabid/308/language/en-US/Default.aspx


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/21/2008 7:31 AM
 

Thank you for your time. I'll be waiting for that version, but I needed to set-up a fully mult-language site for today (I am writing a little manual right now) since it had to be done. I altered some dnn's code to get it working, I know it's dirty but as I said, I HAD to make it work.

Thanks for your time.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Capturing events of the containers from the module itselfCapturing events of the containers from the module itself


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