Uograded to 3.2.3PRO and lost header/footer design???

Discussion in 'Troubleshooting' started by footman, Nov 15, 2010.

  1. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    Just noticed this. Member.php still works fine and members can login and view etc. But the header/footer design elements I had before to look like the rest of my site are no longer there. It's simply a white page with the member login stuff.

    Any idea why?
  2. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    I'd love to know the "how to" with these as after the upgrade I lost the header/footer design elements to match the rest of my site. The documentation here still says to edit the header/footer.html files but the only bit of code in those are a short php code.
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Starting from 3.2.3 the header / footer template edits should happen in your amember/templates/layout.html file. Move the edits there and you should be good.
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Move the html from the old header.html and footer.html files into layout.html.


    David
  5. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You also can restore old header/footer templates and replace current templates, this will work as well.
  6. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    Well, that's the problem. I don't see the 'old' header/footer files anymore. My header / footer html files only have a bit of php code in them as follows:

    header.html
    {php}
    echo amember_get_header($this->_tpl_vars);
    {/php}

    footer.html
    {php}
    echo amember_get_footer($this->_tpl_vars);
    {/php}
  7. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    That's my problem though. The header/footer html files only have a small bit of php code in them. I don't see the old changes I made for the last version.
  8. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Don't you have a backup copy of your previous customised header & footers?
  9. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    Obviously not or I wouldn't be asking for other directions. I didn't think it would be necessary as upgrades don't, usually, affect things like this. Lesson learned...

    That being said... are there directions anywhere to establish NEW ones with the new version?
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @footman: You should contact your Host support, sometimes they maintain backups and can restore your old template files for you to work off of.

    Regarding the new version, open the layout.html file, fairly straightforward. If you do have specific questions though post back here and we'll do what we can to assist you.
  11. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    I know always easy to remind need for backups after the event but in this case you must have modified the originals on a local computer.

    Did you actually delete these files from that computer? They could still be lurking about there forgotten by you!!
  12. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    The basic css for the sign up form and the members page is still like the old setup, I've just lost the header/footer stuff along with the background. No I don't have anything on my computer and hadn't noticed it wasn't correct till recently.
  13. footman

    footman Member

    Joined:
    Jul 21, 2010
    Messages:
    36
    Got it all taken care of. Just redid it the same way as before... with a couple of tweeks.

    Thanx

Share This Page