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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...New and Edited Profile Fields Labels are blankNew and Edited Profile Fields Labels are blank
Previous
 
Next
New Post
6/22/2006 11:22 AM
 
afaik, in DNN 3.3.x/4.3.x you can overwrite keys per installation, but the keys need to be present in the system locale (.ascx.resx)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/22/2006 11:39 AM
 
Thanks for responding Sebastian but I'm not really sure what that means... Could you give an example?

David O'Leary
Efficion Consulting
 
New Post
6/22/2006 12:42 PM
 

From 3.3.0/4.3.0 version, the resource files per language are checked in this order:

  • Portal specific adoption <filename>.<locale>.<portalid>.resx (e.g. user.ascx.de-DE.0.resx)
  • Host specific adoption <filename>.<locale>.Host.resx (e.g. user.ascx.de-DE.Host.resx)
  • Standard Language pack <filename>.<locale>.resx (e.g. user.ascx.de-DE.resx)

.<locale> is omitted for default language ("en-US")

Portal and Host specific adoptions only contain keys, that values differ from the content in the standard language pack file. AFAIK adoptions cannot contain keys, that are not listed in the System language pack.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/22/2006 1:05 PM
 
Sweet, that did it... so to be real specific for this problem, what I did was:
-Created a new file in admin/Users/App_LocalResources called, Profile.ascx.Host.resx
-Added my new and changed Profile Properties to it.

Now, when I upgrade, this file should not be overwritten as it will not exist in the upgrade release.

To simplify, you can also copy your existing Profile.ascx.resx file to Profile.ascx.Host.resx and then remove all items your not over-riding and/or use the existing entries as a template for your new entries

David O'Leary
Efficion Consulting
 
New Post
6/22/2006 2:30 PM
 

Leupold said that the host and portal files can only override keys, not add keys wich means the key still has to be defined in the normal file

Wich will be overwritten again and again when upgrading, so the problem still exists

 

The only good solution this far:

  • make your own profile editing module specially customized to your site's need's (not as hard as it sounds)
  • Put this module on a hidden page
  • change the *user page* setting, located under advanced site settings (replaces default profile page with your custom page)

Sindce this is a custom module, you efforts will not be overwriten when you upgrade the core

This is the way I am going with my projects


Edit your Skin.xml and Container.xml files with:
Yannick's SXE
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...New and Edited Profile Fields Labels are blankNew and Edited Profile Fields Labels are blank


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