How to edit affiliate signup.phtml template?

Discussion in 'Templates customization' started by luxman, Sep 5, 2012.

  1. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    I'd like to create a separate template for the affiliate form; however whenever I create an affiliate.phtml file it doesn't appear within the drop down menu.

    How do I go about including separate graphics and text of a new template for the affilaite signup page?

    I am using a custom theme
  2. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    /aMember/application/default/themes/custom/signup/signup2.phtml

    but nothing changes, it still shows the original - even with signup2.phtml selected as the template/
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,435
    rename signup2.phtml as signup_v2.phtml

    David
  4. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    It's still pulling the layout from layout.phtml ?


    so I edited it and placed layout-aff.phtml into signup_v2.phtml

    and duplicated the layout.phtml and renamed it layout-aff.phtml but nothing changes?
  5. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    Looks like I was trying to edit the wrong file... I want to edit - _login.phtml

    so I duplicated that file and re-named it _loginaff.phtml and uploaded it into the /account/application/default/themes/custom/signup folder

    I then edited signup_v2.phtml so that _loginaff.phtml is within the:

    Code:
    <?php include $this->_script('signup/_loginaff.phtml'); ?>
    but still, nothing changes?

    I don't think its picking up the template page within the drop down.
  6. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    I don't know what's going on but I want to duplicate:

    /account/application/default/themes/custom/signup_login.phtml

    so that I can have different info/pictures for the affiliate template.
  7. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
  8. luxman

    luxman Member

    Joined:
    Mar 31, 2011
    Messages:
    70
    It would be nice to get some help, especially since the site will be live towards the end of the week!

Share This Page