centering signup

Discussion in 'Templates customization' started by saulstokes, Jan 18, 2011.

  1. saulstokes

    saulstokes New Member

    Joined:
    May 31, 2009
    Messages:
    3
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    You seem to have constructed the page using a table for the header, a second table for aMember and another table for the footer. Cannot see a common container div that should align everything.

    As an alternative I would suggest editing the line

    Code:
    <table summary="Signup Form" class="vedit">
    to include a style element defining a left margin of around 100px to start with and then adjust the figure by experiment to align the table with the header & footer. So this line becomes
    Code:
      <table summary="Signup Form" class="vedit" style="margin-left: 100px;">
  3. saulstokes

    saulstokes New Member

    Joined:
    May 31, 2009
    Messages:
    3
    Thank you so much. I will check this out!

    Appreciate it.
    Saul
  4. saulstokes

    saulstokes New Member

    Joined:
    May 31, 2009
    Messages:
    3
    fixed, thank you. Removed the tables and it worked.
  5. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    I am having an issue with this signup page too

    I edited the line as indicated in this string. However, it gave me an error! Now, because I was overly confident in this working... I didn't save how it was originally and I can't get rid of the error. This means my sign up pages will all be non-functioning until this code is fixed. I am not happy!:eek:

    This is the error I am now getting.
    ERROR [256] Smarty error: [in signup.html line 21]: syntax error: unidentified token ';1' (Smarty_Compiler.class.php, line 1357) in line 1102 of file /home/content/44/5042744/html/members/smarty/Smarty.class.php

    This is how the code appears in my signup.html file:
    <body>
    <p>{assign var="title" value=$smarty.const._TPL_SIGNUP_TITLE} {include file="header.html"} {include file="error.inc.html"}</p>
    <form method="post" action="{$smarty.server.PHP_SELF|escape}" id="signup">
    <table summary="Signup Form" class="vedit">
    <tbody>
    <tr>
    <td></td>

    Where is the issue? I tried removing spaces, I tried all sorts of things. I am realizing this is probably a break in the code, but it is very frustrating to try to fix.
    Help, please!
  6. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Start by first reuploading the signup template file.
  7. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    Yes, that would be a great idea. I thought of that too... except my password didn't work to access the backup that I have of the database. Now I am locked out of the admin "front door" to my amember site... have to do everything at the file level. Its been fun!

    Any chance I can get a copy of the original signup.html for version 3.1.9? Right now I have to wait for my password to reset, which my hosting account tells me is not immediate, but can take up to an hour. Real happy right now!
  8. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    Make that version 3.1.8 (sorry)
    All I need is a copy of the correct signup.html for this version or someone to give me the corrected code for the top section. It appears to be a character in the wrong place or something... maybe it is the editor that is changing something when I save it? Regardless, it is giving this error no matter what I go in and change. Replacing that file with a correct one seems to be the best alternative at this point. I've learned my lesson with making even a minor edit without having a backup of the original file. Not what I wanted to spend my weekend on at all.
  9. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    Ok... upon further desperate searching of my archive files (I installed amember in 2009) I located the original zipped file from the download. Problem solved!
    Thank you for the suggestions and I hope some of you that are novices out there learn from my mistake! Never make changes to a file without a backup of the original!
    (I am feeling much better now!)

Share This Page