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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksModule friendly namesModule friendly names
Previous
 
Next
New Post
4/28/2006 2:55 AM
 

In earlier versions of DNN, there used to be problems when translating modules friendly names. One of the most annoying symptom was the creation of a 'zombie module' upon an upgrade. Say you translated 'links' as 'liens', you got 2 modules after upgrading. Obviously some code was using the friendly name instead of the modulename.

I think there is a large consensus that the term 'friendlyname' implies something that you could change as you want, without compromising the future of your portal integrity.

In earlier posts, I read intentions to clean up the code so the module friendly names would become 'code neutral'

As of DNN 3.2.2, there are still issues with module friendly names. For example, if I reinstall the links module, it will reset the module friendly name to the english default, including the description.

As a sidenote,modules friendly Name change is mainly used for localization, but it can be used for other purpuses. For example renaming the friendly name of Text/HTML as _Text/HTML to display on top of the module listbox, or grouping module in any order you wish.

So the questions are :

1. Does anybody here have a clear picture of what can be - and what should NOT be changed in module friendly names as of DNN 3.2.2+ ?

2. Would you please Vinçens get module developpers informed that their code should not rely on module friendly  names, and that upgrades should not change these fields (friendlyname and description)- this should be a criteria for a 'localizable' label.

3. Should not module friendly names be completely moved out the resx files ?

Thanks for your attention on this

Benoit   

 


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
New Post
4/28/2006 4:45 AM
 

Benoit,

The module's friendly name is set by the installation procedure, not by the module developer, but i agree, this procedure could be more transparent

This is just one of the many areas that we will have to look into for full dynamic localization... the list is growing and growing ;)

cheers,

Erik


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

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

 
New Post
4/28/2006 9:33 AM
 

Thanks for the answer Erik,

And do you have an idea which modules' friendly names can be safely changed, and which cannot ? - (accepting the fact that I might have to re-execute an SQL query after every update ?)

What I am doing for a few modules where it has proven safe, is :

Update DesktopModules
set friendlyname = 'liens', description = 'french description'
where friendlyname = 'links'

Are there known modules where this should be avoided - ie where some code would be based upon the original freindlyname ? - or is it considered safe as this stage to apply this to every core or ex-core module ?

 

 

 


Benoît Sarton
www.bsi.fr
www.dotnetnuke.fr
 
New Post
4/28/2006 11:06 AM
 

I would use the following statement:

Update DesktopModules
set friendlyname = 'liens', description = 'french description'
where FolderName = 'Links' AND ModuleName = 'DNN_links'

This should work for all modules following DNN conventions.

 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksModule friendly namesModule friendly names


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