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

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...v8.2 - How to hook onto Content Localization update postback?v8.2 - How to hook onto Content Localization update postback?
Previous
 
Next
New Post
8/25/2017 10:37 AM
 

I would like to extend the 'Content Localization' module such that when I press 'Update Localization', some extra module changing operations would be performed. Is there a way to do this without access to the DNN source code?

If that's not possible, how may I determine which tabs/pages are connected to the 'master' page in localization? I had a look at the Tabs table but the 'ParentID' column seems to refer to page hierarchy, not localization hierarchy.

 

 
New Post
8/30/2017 10:26 PM
 
translated pages are connected via GUIDs near the end of the column list (sorry, I don't have the names at hand).
What Actions do you want to perform? ATM, I am not sure, whether there is an Event, you may hook onto.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/31/2017 8:18 AM
 
Hi Sebastian

Thanks for the reply - turns out that LocalizedVersionGuid column was hiding in plain sight!

I want to hook on to when modules get copied over to the localized page, either through 'Add in Missing Languages' or if there already exists a localized page I tick the checkbox to copy the module over, then click on 'Update Localization'. The custom module would then duplicate its internal configuration (e.g. some custom settings) from the source module in a separate table. 

I discovered that ImportModule method in IPortable seems to trigger when I click 'Add in Missing Languages' but it seems to fire VERY late (e.g. when I change pages), but critically it can fire a second time which then overwrites the target module custom configuration with the source module custom configuration. This is a big problem and I don't understand where in the DNN lifecycle 'ImportModule' fires or how the parameters are assigned.
 
New Post
8/31/2017 3:51 PM
 
Whoops, it's not LocalizedVersionGuid, it's the DefaultLanguageGuid mapped to the parent's UniqueId column.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...v8.2 - How to hook onto Content Localization update postback?v8.2 - How to hook onto Content Localization update postback?


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