How to edit 'coupon text' "if you get any coupon"?

Discussion in 'Templates customization' started by drysnowed, Jun 27, 2008.

  1. drysnowed

    drysnowed New Member

    Joined:
    Jun 27, 2008
    Messages:
    2
    Hello,

    I was wondering if someone could point me in the right direction. I would like to change the text that reads "if you get any coupon code from advertising, please enter it here".

    Any idea how/where I can do that? I've gone through tons and tons of files, but I can't find how/where to change that text.

    Any help would be greatly appreciated!

    Sincerely,

    Sam
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Check out the language file at /amember/language/en.php

    David
  3. andrebell

    andrebell Member

    Joined:
    Aug 28, 2007
    Messages:
    43
    Make sure to read the readme.txt in the language folder. Any changes you make to en.php will get overwritten when amember gets an upgrade. readme.txt includes instructions for avoiding that.
  4. scott_wa1

    scott_wa1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    62
    What about changing that spot in the signup.html signup template file?
  5. andrebell

    andrebell Member

    Joined:
    Aug 28, 2007
    Messages:
    43
    The en.php is where the signup.html template pulls its wording from. Follow the instructions ../language/readme.txt to change the default wording for the coupon to say whatever you want the wording to say.

    The line in en.php you are looking for begins with something like "define ('_TPL_SIGNUP_COUPON_CODE'..." I don't recall the default wording because I set my amember NOT to do automatic upgrades then made the changes in en.php...like the instructions say NOT to do. Not recommended because every time a critical upgrade is released and you do an update, you lose your changes.

    Andre

Share This Page