signup.php page

Discussion in 'Templates customization' started by snhonline, Dec 24, 2010.

  1. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    My question is probably REALLY easy, but all I want to do is put my logo at the top of this page:

    http://online.snh.cc/amember/signup.php

    I know I am supposed to edit the file templates/signup.html, but I'm not really sure how to go about that. When I open the page in my html editor it looks like gibberish -

    If someone could lay out, step by step, how to actually put my logo up there I would really appreciate it!

    Thank you -
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @snhonline: If you are using 3.2.3 you should edit the templates/layout.html file.

    As far as "looking like gibberish", are you using the trial version or the pro version? The pro version is fully viewable and editable.
  3. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    I am using 3.1.2 and it is the Pro version - I'm just not sure where to edit the page - I use a WYSIWYG Web Builder instead of a true HTML editor.
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @snhonline: For that version you will want to edit the templates/header.html file.

    I'd be careful using a WYSIWYG web builder as the template is made up of SMARY tags that can sometimes be lost/stripped by the editor.Stick to a basic text editor or SMARTY friendly editor.
  5. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    Looks like I got it - thanks for the help:

    http://online.snh.cc/amember/signup.php

    If anyone else needs a step by step guide - here is what I did:

    1. Copy amember/templates/signup.html to my desktop
    2. Make a backup copy of signup.html
    3. Open Notepad, then open signup.html
    4. At the top line add <img src="/your_logo.gif" width="100" height="50">, changing the /your_logo.html to the actual location of your logo (mine was just from my website) and the width and height to what it should be
    5. I also added <center> before the img src and </center> after to get it centered
    6. I also added <br> before <center> so the image wouldn't be right at the top
    7. Save the file in notepad, as signup.html
    8. Upload it to amember/templates
  6. kristm

    kristm New Member

    Joined:
    May 4, 2011
    Messages:
    1
    when you say fully editable, does this mean i can change how the form is laid out? or say if i opt not to display the subscription plans as a combo box, but as a div element for example, can i do that?

    is it also possible to change the flow of the signup form?

    i'm hoping to achieve something like this, http://basecamphq.com/signup

    is this possible with the pro version?
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  8. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    Member.php

    I needed to update my signup.php page again and followed my directions, above. It worked great and my new logo is on there:

    http://online.snh.cc/amember/signup.php

    However, I followed the EXACT same directions for member.php and my logo won't change - you can see it is the old logo:

    http://online.snh.cc/amember/member.php

    Any idea what could be causing that? I did the exact same thing - downloaded /templates/member.html to my desktop, made a copy, changed the img src code (I know the source code is right - I checked it about a dozen times), saved it as member.html, then uploaded that file to AMember. The old logo, however, remains. I even uploaded it again to my desktop and the img src code is correct. Why isn't it updating?
  9. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    You should only have to modify the layout.html to have it show on both signup and member pages.
  10. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    Layout.html

    I don't seem to have a file called Layout.html in my /templates folder. Is that normal? I still can't make the changes I want to make to that page.
  11. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    what version of aMember are you using? If it is an older version, you would modify the header / footer template files.
  12. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    header.html

    I am using 3.1.2Pro. I found the header file, but I'm not sure where to insert the image tag. Here is what the header.html file looks like:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <title>{$title}</title>

    <link rel="stylesheet" type="text/css"

    href="{$config.root_surl}/templates/css/reset.css" />

    <link rel="stylesheet" type="text/css"

    href="{$config.root_surl}/templates/css/amember.css" />

    <link rel="stylesheet" type="text/css"

    href="{$config.root_surl}/templates/css/site.css" />

    </head>

    <body>



    {if $config.lang.display_choice}{* Display Language choice if this option enabled *}

    <div style='width: 100%; text-align: right;'>

    {php}echo display_lang_choice();{/php}

    </div>

    {/if}

    <br /><br />

    <div class="centered">



    <h1>{$title}</h1>

    <hr />

    <br />
  13. snhonline

    snhonline aMember Pro Customer

    Joined:
    Aug 8, 2008
    Messages:
    13
    I still don't know how to modify header.html, but I did figure out how to fix that one page - it is login.html.

Share This Page