DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Where is the Register form?

Sort:
You are not authorized to post a reply.





Growing Member





    Happy Monday!

    DNN 9.12.

    I am in Register.ascx where the User Registration form is being invoked and I need to tweak the Asp/HTML but, I simply can not find where this HTML is being generated.

    <dnn:DnnFormEditor id="userForm" runat="Server" FormMode="Short" EncryptIds="True" />

    Likewise, there are other DNN modules that follow the same syntax that I'd like to tweak the HTML a bit and can't find them...

    Thank you!






    Veteran Member





      You should realize that when you edit these files, they will get overwritten on every DNN update





      Veteran Member





        Normally the HTML is generated in the accompanying C# code behind file which is only in the Source version of DNN. Not in the install package as these are compiled into a DLL.





        Growing Member





          Maybe copy it and create my own version so it won't get overridden on update? yes, other things "could" happen but I'm not planning ongoing crazy with changes. We're senior devs, I'm not particularily scared to create our own versions of certain modules... :-)

          How would I go about getting the source files on an existing project?

          Thank you!






          Veteran Member





            Yeah, it sounds like you may want to create your own registration module. The way most of us do this is by either finding and starting with an existing open-source one or... Most commonly, create a module and then pull in copies of the registration code from DNN itself.  Then, begin making the necessary tweaks you're interested in having. 

            The latter approach is what I'd recommend.  This way, you're not moving forward totally on your own, regarding security.  Meaning, that you keep the code matching what's in the core of DNN itself as much as you can. Then, as newer versions of DNN become available, you can merge in any updates you see, so that you can continue to take advantage of the updates coming in various DNN releases.  

            However, there's still another option that I sometimes employ.  You can use a third-party module like Live Forms from Mandeeps to not only create a working custom registration/login form, but it can also execute other code you wish to have run.  

            You are not authorized to post a reply.

            These Forums are dedicated to the discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
            2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
            3. 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.
            4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            5. No Flaming or Trolling.
            6. No Profanity, Racism, or Prejudice.
            7. Site Moderators have the final word on approving / removing a thread or post or comment.
            8. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved