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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedRegisterPopUp TitleRegisterPopUp Title
Previous
 
Next
New Post
8/2/2013 2:43 AM
 
Hi,

i am using version 6.2.7 and when I click register link register popup gets open with title as "MyWebsite > Home" I want to change this to "Register" text.

Please provide me the way to do so.


Thanking You.
 
New Post
8/2/2013 3:07 AM
 
please check page settings in Admin > Site Settings. The Registration page might not be configured

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/2/2013 3:15 AM
 
Sorry I dint got you.
 
New Post
8/8/2013 8:02 AM
 

Hi 
You need to do some customization by writing few lines of code to 'DesktopModules\Admin\Security\Register.ascx.cs' file.
Like DNN default login control page is doing. Write following code under OnInit method:

            var myPage = (DotNetNuke.Framework.CDefault)Page;
            myPage.Title = LocalizeString("Title.Text");

Then you need to add value for key 'Title.Text' to resource file i.e, (DesktopModules\Admin\Security\App_LocalResources\Register.ascx.resx).

Thanks
Sibabrata Dash
Mindfire Solutions

 
New Post
7/12/2014 5:25 AM
 
I know its an old thread, but the problem partially still exist in 7.2 so heres my solution for that version (dunno if its been fixed in 7.3 which is the latest version at the time im wirting this)

Inspired by ur reply Sibabrata, i looked up the code in login.ascx.cs where it sets the title of the page, which i copied and reused for the register.ascx.cs



From that I ended up with thise snippet:

// Code to set title of the Register popup in localization files

   var myPage = (CDefault) Page;

   myPage.Title = Localization.GetString("ControlTitle_register", LocalResourceFile);

// End of title code



Which I placed in register.ascx.cs right under the line "base.OnInit(e);



The funny thing is though, that when I afterwards went into the resourcefile (register.ascx.resx) the key "Controltitle_register" was already there and in my local language it was also present and even translated as part of the language pack.

So I didn't have to add them in, but it looks like they actually did intend to add in the title control for the registration page, but just forgot to add the code in the ascx.cs somehow.



As mentioned, I dunno if its been fixed in 7.3, but I also dunno when the key for the resourcefiles were added in, so the above solution may work on pre 7.2 as well to some extend.



Cheers

Jake



 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedRegisterPopUp TitleRegisterPopUp Title


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