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/16/2006 5:31 PM
 
Anyone else seeing this... when you add profile properties when you actually view the Login page, the labels are missing, there's just the Help icon and then a blank space. Looking at the generated HTML, everything else is there except for the actual word... This also occurs when you edit any existing property. I'm guessing it's a localization issue...

            <tr>
                <td><div style="width:675px;">
                    <div style="float: left; width: 150px"><span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label" style="width:150px;"><label><a id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_cmdHelp" tabindex="-1" onclick="if (__dnn_SectionMaxMin(this,  'dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_pnlHelp')) return false;" href=" __doPostBack('dnn$ctr$Signin$Profile$ProfileProperties$_ctl14$Company_Label_cmdHelp','')"><img id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_imgHelp" tabindex="-1" src="/images/help.gif" alt="" border="0" /></a>&nbsp;<span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_label" class="SubHead"></span></label><div id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_pnlHelp" class="Help" style="display:none;">
                        <span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl14_Company_Label_lblHelp"></span>
                    </div></span></div><div style="float: right; width: 525px"><input class="NormalTextBox" type="text" value="" name="dnn:ctr:Signin:Profile:ProfileProperties:_ctl14:Company" /></div>
                </div></td>
            </tr><tr>
                <td><div style="width:675px;">
                    <div style="float: left; width: 150px"><span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label" style="width:150px;"><label><a id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_cmdHelp" tabindex="-1" onclick="if (__dnn_SectionMaxMin(this,  'dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_pnlHelp')) return false;" href=" __doPostBack('dnn$ctr$Signin$Profile$ProfileProperties$_ctl15$Telephone_Label_cmdHelp','')"><img id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_imgHelp" tabindex="-1" src="/images/help.gif" alt="" border="0" /></a>&nbsp;<span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_label" class="SubHead">Telephone:</span></label><div id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_pnlHelp" class="Help" style="display:none;">
                        <span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Label_lblHelp">Enter a telephone number</span>
                    </div></span></div><div style="float: right; width: 525px"><input class="NormalTextBox" type="text" value="" name="dnn:ctr:Signin:Profile:ProfileProperties:_ctl15:Telephone" /><img title="Telephone is required" src="/images/required.gif" alt="Telephone is required" border="0" /></div><span id="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone_Req" class="NormalRed" controltovalidate="dnn_ctr_Signin_Profile_ProfileProperties__ctl15_Telephone" errormessage="Telephone is required" display="Dynamic" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;width:675px;display:none;">Telephone is required</span>
                </div></td>
            </tr><tr>


David O'Leary
Efficion Consulting
 
New Post
6/17/2006 9:50 AM
 

It's because the fields are localized and DNN does not set default values for the resourcekeys. It doesn't even make stubs so the language editor could complain about missing entry's

I just asked the question "Wich localization files to edit" on the latest blog entry about localization


Edit your Skin.xml and Container.xml files with:
Yannick's SXE
 
New Post
6/17/2006 11:46 AM
 
Found it: admin/Users/App_LocalResources/Profile.ascx.resx
Just follow the pattern there, it's quite easy...

Example
    <data name="ProfileProperties_Company.Text">
        <value>Company:</value>
    </data>
    <data name="ProfileProperties_Company.Help">
        <value>Enter your Company Name</value>
    </data>
    <data name="ProfileProperties_Company.Required">
        <value>Company is required</value>
    </data>


David O'Leary
Efficion Consulting
 
New Post
6/17/2006 11:56 AM
 

I am also currently using that file because it seems to work

but that is a file wich comes in the install package, wich means this file will be overwritten when 4.3.1 comes out. For this I don't believe this is the right file.

In case this IS the right file, I recommend changing the behavior for the next service release so there are localization files for the profile inside the /portals/x/ folders


Edit your Skin.xml and Container.xml files with:
Yannick's SXE
 
New Post
6/22/2006 11:17 AM
 
You're right, upgrading to 3.3.1 overwrote my changes as it overwrote admin\Users\App_LocalResources\Profile.ascx.resx and I wasn't thinking so I didn't back that file up.

As Vicenc discusses in this blog, http://www.dotnetnuke.com/DotNetNukeProjects/CoreLocalization/tabid/839/EntryID/467/Default.aspx#Comments
there should be a way to have a file that overrides the default values incrementally but I'm not sure what to do at this point...

David O'Leary
Efficion Consulting
 
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