1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Tweak Sign Up button message and URL

Discussion in 'Styling and Customization Questions' started by Minecraftly, Dec 14, 2014.

  1. Minecraftly

    Minecraftly Member

    Hello,

    I want to tweak sign up button by changing the following:

    1. changing the URL of the button from /login/ to /register/. That way a register page actually comes up instead of the login bar.
    2. I want to put a little message under the signup button telling users what they get for signing up.

    It'd be great if you can help. Thanks!
     

    Attached Files:

  2. Mike

    Mike XenForo Developer Staff Member

    See the sidebar_visitor_panel template.
     
  3. Minecraftly

    Minecraftly Member

    Thanks, I was able to add a message into the Sign Up box.

    About changing URL to /register/, and ignore the dropdown box, the code is confusing. It'd be great if you can help. Thanks!

    Code:
    <label<xen:if is="!@uix_loginModalBox"> for="LoginControl"</xen:if> id="SignupButton"><a href="{xen:link login}" class="inner<xen:if is="@uix_loginModalBox"> OverlayTrigger</xen:if>">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
     
  4. Andrej

    Andrej Well-Known Member

    Change {xen:link login} to {xen:link register}
     
  5. Minecraftly

    Minecraftly Member

    Thanks! That fixes one of it, the URL points to /register now. However, the Login module still shows up. Could you please help?
     

Share This Page