Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default gv_faq.php - Modifying the FAQ page text...

    I've attempted in vain to modify the text within this FAQ and each time I edit the text, the FAQ will no longer display.

    Here's the section of the file with the sections I modded highlighted):
    Code:
      case '1':
    define('SUB_HEADING_TITLE','Purchasing ' . TEXT_GV_NAMES);
    define('SUB_HEADING_TEXT', TEXT_GV_NAMES . ' are purchased just like any other item in our store. You can
      pay for them using the stores standard payment method(s).
      Once purchased and approved by the store manager, the value of the ' . TEXT_GV_NAME . ' will be added to your own personal
       ' . TEXT_GV_NAME . ' Account. If you have funds in your ' . TEXT_GV_NAME . ' Account, you will
      notice that the amount now shows in the Shopping Cart box or on your Account Manager page. Also if you have funds in 
      your ' . TEXT_GV_NAME . ' Account, you will also be provided  with a link to a page where you can send 
      the ' . TEXT_GV_NAME . ' to someone via email.');
      break;
      case '2':
    define('SUB_HEADING_TITLE','How to Send ' . TEXT_GV_NAMES);
    define('SUB_HEADING_TEXT','To send a ' . TEXT_GV_NAME . ' you need to go to our Send ' . TEXT_GV_NAME . ' Page. You can
      find the link to this page in the Shopping Cart Box or on your Account Manager page.
      When you send a ' . TEXT_GV_NAME . ', you need to specify the following.
      1. The name of the person you are sending the ' . TEXT_GV_NAME . ' to.<br />
      2. The email address of the person you are sending the ' . TEXT_GV_NAME . ' to.<br />
      3. The amount you want to send (Note you don\'t have to send the full amount that
      is in your ' . TEXT_GV_NAME . ' Account.<br />
      4. A short message which will appear in the email.<br />
      Please ensure that you have entered all of the information correctly, although
      you will be given the opportunity to change this as much as you want before
      the email is actually sent.');
      break;
      case '3':
      define('SUB_HEADING_TITLE','Buying with ' . TEXT_GV_NAMES);
      define('SUB_HEADING_TEXT','If you have funds in your ' . TEXT_GV_NAME . ' Account, you can use those funds to
      purchase other items in our store. At the checkout stage, an extra box will
      appear. Enter the amount to apply from the funds in your ' . TEXT_GV_NAME . ' Account.
      Please note, you will still have to select another payment method if there
      is not enough in your ' . TEXT_GV_NAME . ' Account to cover the cost of your purchase.
      If you have more funds in your ' . TEXT_GV_NAME . ' Account than the total cost of
      your purchase the balance will be left in your ' . TEXT_GV_NAME . ' Account for the
      future.');
      break;
      case '4':
      define('SUB_HEADING_TITLE','Redeeming ' . TEXT_GV_NAMES);
      define('SUB_HEADING_TEXT','If you receive a ' . TEXT_GV_NAME . ' by email it will contain details of who sent
      you the ' . TEXT_GV_NAME . ', along with possibly a short message from them. The email
      will also contain the ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM . '. It is probably a good idea to print
      out this email for future reference. You can now redeem the ' . TEXT_GV_NAME . ' in
      two ways.<br /><br />
      1. By clicking on the link contained within the email for this express purpose.
      This will take you to the store\'s Redeem ' . TEXT_GV_NAME . ' page. You will then be requested
      to create an account, before the ' . TEXT_GV_NAME . ' is validated and placed in your
       ' . TEXT_GV_NAME . ' Account ready for you to spend it on whatever you want.
      2. During the checkout process, on the same page that you select a payment method
    there will be a box to enter a ' . TEXT_GV_REDEEM . '. Enter the ' . TEXT_GV_REDEEM . ' here, and
    click the Redeem button. The code will be
    validated and the amount added to your ' . TEXT_GV_NAME . ' Account. You can then use the amount to purchase any item from our store')<br /><br />;
      break;
      case '5':
      define('SUB_HEADING_TITLE','When problems occur.');
      define('SUB_HEADING_TEXT','For any queries regarding the ' . TEXT_GV_NAME . ' System, please contact the store
      by email at '. STORE_OWNER_EMAIL_ADDRESS . '. Please make sure you give
      as much information as possible in the email. ');
      break;
      default:
      define('SUB_HEADING_TITLE','');
      define('SUB_HEADING_TEXT','Please choose from one of the questions above.');
    
      }
    
      define('TEXT_GV_REDEEM_INFO', 'Please enter your ' . TEXT_GV_NAME . ' redemption code: ');
      define('TEXT_GV_REDEEM_ID', 'Redemption Code:');
    I was VERY careful in my changes.. What did I do wrong here??

  2. #2
    Join Date
    Oct 2004
    Location
    Wisconsin,USA/Bermuda
    Posts
    42
    Plugin Contributions
    0

    Default Re: gv_faq.php - Modifying the FAQ page text...

    I copied and pasted your code into my store, and I found one error that messed up the whole page.

    You have:
    2. During the checkout process, on the same page that you select a payment method
    there will be a box to enter a ' . TEXT_GV_REDEEM . '. Enter the ' . TEXT_GV_REDEEM . ' here, and
    click the Redeem button. The code will be
    validated and the amount added to your ' . TEXT_GV_NAME . ' Account. You can then use the amount to purchase any item from our store')<br /><br />;
    break;

    You need to move the <br /><br /> inside the parentheses, so it reads:

    2. During the checkout process, on the same page that you select a payment method
    there will be a box to enter a ' . TEXT_GV_REDEEM . '. Enter the ' . TEXT_GV_REDEEM . ' here, and
    click the Redeem button. The code will be
    validated and the amount added to your ' . TEXT_GV_NAME . ' Account. You can then use the amount to purchase any item from our store<br /><br />');
    break;

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: gv_faq.php - Modifying the FAQ page text...

    Quote Originally Posted by littlegdesigns2004 View Post
    I copied and pasted your code into my store, and I found one error that messed up the whole page.

    You have:
    2. During the checkout process, on the same page that you select a payment method
    there will be a box to enter a ' . TEXT_GV_REDEEM . '. Enter the ' . TEXT_GV_REDEEM . ' here, and
    click the Redeem button. The code will be
    validated and the amount added to your ' . TEXT_GV_NAME . ' Account. You can then use the amount to purchase any item from our store')<br /><br />;
    break;

    You need to move the <br /><br /> inside the parentheses, so it reads:

    2. During the checkout process, on the same page that you select a payment method
    there will be a box to enter a ' . TEXT_GV_REDEEM . '. Enter the ' . TEXT_GV_REDEEM . ' here, and
    click the Redeem button. The code will be
    validated and the amount added to your ' . TEXT_GV_NAME . ' Account. You can then use the amount to purchase any item from our store<br /><br />');
    break;
    Thanks for the FAST response.. I'll give that whirl this weekend.. (crossing my fingers) Although I'm pretty positive that this isn't a section of the original code that I edited.. Hmmmmmmmmmm

 

 

Similar Threads

  1. v151 modifying the Define_Main_Page.php
    By DarrellJ in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Jan 2015, 04:30 AM
  2. v151 modifying product_info_display.php page
    By asdfwen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Jul 2013, 01:38 AM
  3. how to edit the text in Gift Certificate FAQ?
    By lina0962 in forum General Questions
    Replies: 1
    Last Post: 8 Sep 2010, 01:36 AM
  4. Modifying Main Page to show various text.
    By beautifulminds-us in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 May 2008, 10:29 PM
  5. modifying the header.php file for advanced_search_result
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jan 2008, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg