Setting Skin for Registration Page.
Last Post 05/11/2011 9:23 PM by Greg Robinson. 9 Replies.
Author Messages Not Resolved
abbas electricwala
Nuke Newbie
Nuke Newbie
Posts:1


--
04/08/2011 11:00 AM  
Hey Guys,
i have uploaded my Dotnetnuke site on the Production Server, i am using Dotnetnuke 5.6, now my issue is Dotnetnuke's registration page is using My sites home skin, but i want to set the different skin for registration page... how can i set the different skin for my registration page, as i cannot find the registration page in the admin--> pages... how to set the skin...


Joseph Craig
DNN MVP
Posts:11667


--
04/08/2011 6:29 PM  
If you create a custom registration page, you can specify the skin for that page.

To do that, add a new page and then add the "Users and Roles" module to the page. A total of 3 modules will be added to the page. Delete the Security Roles and Users modules from the page, and you now have your custom registration page.

Next, go to Site Settings. Under Advanced Settings, specify the new page as the Registration Page.

Joe Craig, Patapsco Research Group
Complete DNN Support
Greg Robinson
Nuke Newbie
Nuke Newbie
Posts:5


--



...

I'm wondering where I would look to:

1. Modify the styling of this page so that I can define the row height thereby removing the blank spaces.

OR

2. Modify the source code so that the table html elements are not added if a field has been removed.

thanks
05/05/2011 12:53 PM  
Hi Joe,

Thanks for the info.

I have a question related to what Abbas was asking. I currently have a custom registration page that is using as the Module Container. My registration page has blank spaces because of form fields that have been removed from the form. DNN still adds the table html elements that result in the blank spaces:

...
Greg Robinson
Nuke Newbie
Nuke Newbie
Posts:5


--
05/05/2011 12:54 PM  
Hi Joe,

Thanks for the info.

I have a question related to what Abbas was asking. I currently have a custom registration page that is using as the Module Container. My registration page has blank spaces because of form fields that have been removed from the form. DNN still adds the table html elements that result in the blank spaces.

I'm wondering where I would look to:

1. Modify the styling of this page so that I can define the row height thereby removing the blank spaces.

OR

2. Modify the source code so that the table html elements are not added if a field has been removed.

thanks
Joseph Craig
DNN MVP
Posts:11667


--
05/06/2011 8:35 AM  
If you look at the generated page source you can determine the classes that need restyling. You can do that in skin.css.

I would recommend against editing the source.

Using something like Dynamic Registration may save you a lot of time and/or frustration.

Joe Craig, Patapsco Research Group
Complete DNN Support
Greg Robinson
Nuke Newbie
Nuke Newbie
Posts:5


--
05/10/2011 1:04 PM  
Thanks for the reply. One other question:

I currently have a custom registration page that is using the 'User and Roles' module. I would like to move the "User Name" field Above the 'password' field.

Can I do this without modifying the source code?

thanks!
Joseph Craig
DNN MVP
Posts:11667


--
05/10/2011 2:38 PM  
On my test system, the Registration page has fields in this order:

User Name
First Name
Last Name
Email Address

This is followed by two password fields.

Which version of DotNetNuke are you using? Possibly attaching a screen shot of the page or providing a URL would help me understand your question.

Joe Craig, Patapsco Research Group
Complete DNN Support
Greg Robinson
Nuke Newbie
Nuke Newbie
Posts:5


--
05/10/2011 4:54 PM  
Hi Joe,

Thats what I have too. This is what I'm trying to do:

First Name
Last Name
Email Address
User Name
two password fields

I'm running 5.6.2.

Thanks!

Joseph Craig
DNN MVP
Posts:11667


--
05/11/2011 10:36 AM  
That chunk of code is a table, so you're going to have a difficult time rearranging it.

What I would do is make a copy of the Users and Roles module by going to the Extensions page and editing the module. Click the link to "Create a Package."

Then, you can take the zip file that is created, rename it (also change some names in the .dnn file). You can then edit the ascx file to swap the rows of the table around to your liking, and then install the module with the new name. Then, use the new version of the module on your registration page.

By doing things this way, you may save yourself some grief when you update your version of DotNetNuke.

(Hopefully this will work. There may be some interactions that I have not considered. But, since you are only moving elements around and not changing code, this should be fine.)

Joe Craig, Patapsco Research Group
Complete DNN Support
Greg Robinson
Nuke Newbie
Nuke Newbie
Posts:5


--
05/11/2011 9:23 PM  
Thanks Joe. I'll give it a shot.

=======


---