Customizing the Registration page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/22/2011 2:00:12 PM
Gravatar
Total Posts 46

Customizing the Registration page

I'd like to make changes to the registration page to take advantage of the preamble <div> (.regpreamble) that precedes the form fields. Is this accessible from a message template or other resource file? If not, I can probably accomplish what I need in CSS but it would be easier if I could edit a resource file.

Also, I'd like to make changes to the message that shows after a registration is complete (the text preceding the Continue button). Is that externalized?

Thanks for any insights.

 

Bob

2/22/2011 2:38:49 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Customizing the Registration page

Hi, for the preamble, see the page Creating a Registration Agreement. I don't think there is any delivered way to customize the post-registration text. I'm basing this on Joe's response in this thread.

Jamie

2/22/2011 2:52:13 PM
Gravatar
Total Posts 46

Re: Customizing the Registration page

Thanks, Jamie. I guess I have to implement the preamble thru CSS as the registration agreement is: a) treated as "post-amble" (it shows up before the captcha and submit button) and b) has a check box for agreement with the terms. Not quite what I was looking for.

I'm sort of surprised that the messages around the registration aren't customizable but I guess I will learn to live with that.

Thanks for the help.

 

Bob

2/22/2011 3:07:05 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Customizing the Registration page

The registration page is one of only a few "real" physical aspx pages in mojoPortal. If you want to really customize it, and are using mojoPortal 2.3.6.1 or later, you can specify a custom page name and enable redirecting in your user.config or web.config like this (lifted straight out of web.config):

    <!-- this key makes the Register link point to a custom registration page. leave blank to use the built in registration page.
    <add key="CustomRegistrationPage" value="/path/to/your/customregistration.aspx"/>
    Set RedirectRegistrationPageToCustomPage to true to force a redirect from the built in registration page to the custom url
    -->
    <add key="CustomRegistrationPage" value=""/>
    <add key="RedirectRegistrationPageToCustomPage" value="false"/>

You can also force a redirect to a post-registration page, if you want to provide a particular post-registration experience:

    <!-- Generally you should leave this blank and let mojoportal handle the redirecting after a
         user registers. However, if you want to force redirecting to some specific page you can
         force it with this setting (e.g. <add key="PageToRedirectToAfterRegistration" value="/yourcustompage.aspx" />).
         Warning! Do not use this in a multi site installation. This is a global setting and will
         affect all sites. -->
    <add key="PageToRedirectToAfterRegistration" value=""/>

2/23/2011 11:57:08 AM
Gravatar
Total Posts 18439

Re: Customizing the Registration page

Hi,

Regarding the preamble you can configure that, I've updated this article to mention it:

http://www.mojoportal.com/creatingaregistrationagreement.aspx

The difference is that no default file exists, you have to create it if you want to use it. The good side of that is that when you upgrade nothing will overwrite it.

Note that in the not too distant future I plan to make the registration agreement and pre-amble per site settings that can be edited from the UI.

As far as the message shown with the confirm button, it is not customizable, it comes from resource files and different messages are shown depending on configuration such as if emails must be confirmed before they can login or if users must be approved before they can login.

Hope it helps,

Joe

 

8/16/2012 3:34:30 AM
Gravatar
Total Posts 5

Re: Customizing the Registration page

I tried setting the <add key="PageToRedirectToAfterRegistration" value="/yourcustompage.aspx" />). to a another page, but this page requires that the user is an authenticated user, it this a problem because the redirection is not done.

8/16/2012 3:46:59 AM
Gravatar
Total Posts 5

Re: Customizing the Registration page

ok i found this on another entry: 

You would need to add this to your user.config then touch web.config to make it reload settings

<add key="UseRawUrlForCmsPageLoginRedirects" value="true" />

I did that and now it works.

You must sign in to post in the forums. This thread is closed to new posts.