Adding image to Signup and Join Pages

Discussion in 'aMember Pro v.4' started by krhaynes, Mar 22, 2012.

  1. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
    I'm trying to add an image outside of the forms on signup and join pages (I know I can add it to HTML in forms editor).

    Join: I was able to add the image to signup.phtml (is that the best way?)

    Signup: I can't figure out where to add it. I tried adding to signup.phtml with no luck.

    Any ideas?

    Thanks!
    Kevin
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Kevin,
    Sorry for asking, but what is the difference between signup and join pages ? Can you provide url of join page where you want able to add image and url of signup page where you wasn't able to do this?
  3. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Did you try editing the layout.phtml file?

    David
  5. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
    I have two banners. One for the sign up page (which is there now because I successfully added it to signup.phtml), and one for the login page (see attached for the placement). Wouldn't the layout.phtml file apply to both places?

    How would I add HTML to the login page only, and where would it go in the code for the location I want it to appear?
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    if you want to add banner to login page, you have to edit /amember/application/default/views/login.phtml template. Just put your banner code somewhere at the bottom of that template.

    If you place it into layout.phtml, it will be applied to all aMember pages.
  7. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
    That works perfectly. Thanks, Alex!
  8. nathanamember

    nathanamember New Member

    Joined:
    Dec 20, 2011
    Messages:
    4
    I just went to
    mydomainname.com/amember/application/default/views/login.phtml
    There is nothing there
  9. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    try _login.phtml

    David
  10. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    How do you open it? Try to open it with notepad or with an HTML editor.
  11. nathanamember

    nathanamember New Member

    Joined:
    Dec 20, 2011
    Messages:
    4
    problem solved

Share This Page