Difference between revisions of "Gv send page"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m (Reverted edits by Torke (Talk); changed back to last version by Yboy)
Line 1: Line 1:
The '''Gv_send page''' is explained here.
 
  
 
 
 
 
== Configuration options ==
 
This table below shows most of the configuration options including language text for the ''Gv_send page''.
 
It is based on a ZenCart version 1.3.0.
 
Before editing files copy the original file (if not done before) to YOUR_TEMPLATE directory.
 
 
Copy image and button files
 
* from ''includes\templates\'''template_default'''\images\..... ''to ''includes\templates\'''YOUR_TEMPLATE'''\images\.....''
 
* from ''includes\templates\'''template_default'''\buttons\..... ''to ''includes\templates\'''YOUR_TEMPLATE'''\buttons\.....''
 
Copy language files
 
* from ''includes\language\..... ''to ''includes\language\'''YOUR_TEMPLATE'''\.....''
 
* from ''includes\language\english\..... ''to ''includes\language\english\'''YOUR_TEMPLATE'''\.....''
 
See also [[Customisation - Templates]]
 
 
 
{| border="1" style="border-collapse:collapse;border:1px solid silver;width:100%;"
 
|- style="background:Lightblue;text-align:left;"
 
! | Name 
 
! | Default value 
 
! | How to change 
 
|-
 
| TEXT_AVAILABLE_BALANCE 
 
|  'Your ' . TEXT_GV_NAME . ' Account' 
 
| Edit language file<b> english.php</b> near line 342 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_BALANCE_IS 
 
|  'Your ' . TEXT_GV_NAME . ' balance is: ' 
 
| Edit language file<b> english.php</b> near line 341 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_SEND_ANOTHER 
 
|  'Would you like to send another ' . TEXT_GV_NAME . '?' 
 
| Edit language file<b> gv_send.php</b> near line 27 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_SEND_ANOTHER 
 
| [[Image:button_send_another.gif]] 
 
| Edit button image file<b>  'button_send_another.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_SEND_ANOTHER_ALT 
 
|  'Send Another Gift Certificate' 
 
| Edit button names file<b> button_names.php</b> near line 88 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| HEADING_TITLE_COMPLETED 
 
|  TEXT_GV_NAME . ' Sent' 
 
| Edit language file<b> gv_send.php</b> near line 12 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| TEXT_SUCCESS 
 
|  'Congratulations, your ' . TEXT_GV_NAME . ' has successfully been sent.' 
 
| Edit language file<b> gv_send.php</b> near line 26 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_CONTINUE 
 
| [[Image:button_continue.gif]] 
 
| Edit button image file<b>  'button_continue.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_CONTINUE_ALT 
 
|  'Continue' 
 
| Edit button names file<b> button_names.php</b> near line 74 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| HEADING_TITLE_CONFIRM_SEND 
 
|  'Send ' . TEXT_GV_NAME . ' Confirmation' 
 
| Edit language file<b> gv_send.php</b> near line 11 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| MAIN_MESSAGE 
 
|  'You are sending a ' . TEXT_GV_NAME . ' worth %s to %s,  whose email address is %s. If these details are not correct, you may edit your message by clicking the <strong>edit</strong> button.<br /><br />The message you are sending is:<br /><br />' 
 
| Edit language file<b> gv_send.php</b> near line 23 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| SECONDARY_MESSAGE 
 
|  'Dear %s,<br /><br />' . 'You have been sent a ' . TEXT_GV_NAME . ' worth %s by %s' 
 
| Edit language file<b> gv_send.php</b> near line 24 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| PERSONAL_MESSAGE 
 
|  '%s says:' 
 
| Edit language file<b> gv_send.php</b> near line 25 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_CONFIRM_SEND 
 
| [[Image:button_confirm_send.gif]] 
 
| Edit button image file<b>  'button_confirm_send.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_CONFIRM_SEND_ALT 
 
|  'Send Gift Certificate' 
 
| Edit button names file<b> button_names.php</b> near line 72 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| BUTTON_IMAGE_EDIT_SMALL 
 
| [[Image:small_edit.gif]] 
 
| Edit button image file<b>  'small_edit.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_EDIT_SMALL_ALT 
 
|  'Edit' 
 
| Edit button names file<b> button_names.php</b> near line 78 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| EMAIL_ADVISORY_INCLUDED_WARNING 
 
|  '<strong>This message is included with all emails sent from this site:</strong>' 
 
| Edit language file<b> email_extras.php</b> near line 35 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_ADVISORY 
 
|  '-----' . "n\" . '<strong>IMPORTANT:</strong> For your protection and to prevent malicious use, all emails sent via this web site are logged and the contents recorded and available to the store owner. If you feel that you have received this email in error, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . "n\n\" 
 
| Edit language file<b> email_extras.php</b> near line 32 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| HEADING_TITLE 
 
|  'Send ' . TEXT_GV_NAME 
 
| Edit language file<b> gv_send.php</b> near line 10 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| HEADING_TEXT 
 
| 'Please enter the name, email address and amount of the ' . TEXT_GV_NAME . ' you wish to send. For more information, please see our <a href="' . zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL').'">' . GV_FAQ . '.</a>' 
 
| Edit language file<b> gv_send.php</b> near line 15 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_NAME 
 
|  'Recipient'\s Name:' 
 
| Edit language file<b> gv_send.php</b> near line 16 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_REQUIRED_SYMBOL 
 
|  '*' 
 
| Edit language file<b> english.php</b> near line 259 in the directory ''includes\languages\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_EMAIL 
 
|  'Recipient Email:' 
 
| Edit language file<b> gv_send.php</b> near line 17 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_AMOUNT 
 
|  'Amount to Send:' 
 
| Edit language file<b> gv_send.php</b> near line 19 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ENTRY_MESSAGE 
 
|  'Your Message:' 
 
| Edit language file<b> gv_send.php</b> near line 18 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| BUTTON_IMAGE_SEND 
 
| [[Image:button_send.gif]] 
 
| Edit button image file<b>  'button_send.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_SEND_ALT 
 
|  'Send Now' 
 
| Edit button names file<b> button_names.php</b> near line 87 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| BUTTON_IMAGE_BACK 
 
| [[Image:button_back.gif]] 
 
| Edit button image file<b>  'button_back.gif'</b> in the directory ''includes\templates\YOUR_TEMPLATE\buttons\english\'' with a graphic tool 
 
|-
 
| BUTTON_BACK_ALT 
 
|  'Back' 
 
| Edit button names file<b> button_names.php</b> near line 67 in the directory ''includes\languages\english\YOUR_TEMPLATE''. <br />Note: This text will be visible when your hover over this button. 
 
|-
 
| ERROR_ENTRY_TO_NAME_CHECK 
 
|  'We did not get the Recipient'\s Name. Please fill it in below. ' 
 
| Edit language file<b> gv_send.php</b> near line 20 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ERROR_ENTRY_EMAIL_ADDRESS_CHECK 
 
|  'Is the email address correct? Please try again.' 
 
| Edit language file<b> gv_send.php</b> near line 22 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| ERROR_ENTRY_AMOUNT_CHECK 
 
|  'The ' . TEXT_GV_NAME . ' amount does not appear to be correct. Please try again.' 
 
| Edit language file<b> gv_send.php</b> near line 21 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| STORE_NAME 
 
| test300 
 
| Change this in ADMIN<br /><b>Configuration --> My Store --> [[Admin - Configuration - My Store#Store Name|Store Name]].</b><br /><br />The name of my store 
 
|-
 
| EMAIL_SEPARATOR 
 
|  '----------------------------------------------------------------------------------------' 
 
| Edit language file<b> gv_send.php</b> near line 31 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_TEXT_HEADER 
 
|  'Congratulations, You have received a ' . TEXT_GV_NAME . ' worth %s' 
 
| Edit language file<b> gv_send.php</b> near line 32 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_FROM 
 
|  'This ' . TEXT_GV_NAME . ' has been sent to you by %s' 
 
| Edit language file<b> gv_send.php</b> near line 33 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_MESSAGE 
 
|  'with a message saying: ' 
 
| Edit language file<b> gv_send.php</b> near line 34 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_SEND_TO 
 
|  'Hi, %s' 
 
| Edit language file<b> gv_send.php</b> near line 35 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_REDEEM 
 
|  'To redeem this ' . TEXT_GV_NAME . ', please click on the link below. Please also write down the ' . TEXT_GV_REDEEM . ': %s  just in case you have problems.' 
 
| Edit language file<b> gv_send.php</b> near line 36 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_LINK 
 
|  'To redeem please click here' 
 
| Edit language file<b> gv_send.php</b> near line 37 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_FIXED_FOOTER 
 
|  'If you have problems redeeming the ' . TEXT_GV_NAME . ' using the automated link above, ' . "n\" .<br />                                'you can also enter the ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM . ' during the checkout process at our store.' 
 
| Edit language file<b> gv_send.php</b> near line 40 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_SHOP_FOOTER 
 
|  '' 
 
| Edit language file<b> gv_send.php</b> near line 42 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_GV_TEXT_SUBJECT 
 
|  'A gift from %s' 
 
| Edit language file<b> gv_send.php</b> near line 30 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| EMAIL_FROM 
 
| test@test.nl 
 
| Change this in ADMIN<br /><b>Configuration --> E-Mail Options --> [[Admin - Configuration - E-Mail Options#Email Address (sent FROM)|Email Address (sent FROM)]].</b><br /><br />Address from which email messages will be "sent" by default. Can be over-ridden at compose-time in admin modules. 
 
|-
 
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_STATUS 
 
| 0 
 
| Change this in ADMIN<br /><b>Configuration --> E-Mail Options --> [[Admin - Configuration - E-Mail Options#Send Copy of Customer GV Send Emails To - Status|Send Copy of Customer GV Send Emails To - Status]].</b><br /><br />Send copy of Customer GV Send Status<br />0= off 1= on 
 
|-
 
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO 
 
| test@test.nl 
 
| Change this in ADMIN<br /><b>Configuration --> E-Mail Options --> [[Admin - Configuration - E-Mail Options#Send Copy of Customer GV Send Emails To|Send Copy of Customer GV Send Emails To]].</b><br /><br />Send copy of Customer GV Send emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2> 
 
|-
 
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_SUBJECT 
 
| '[GV CUSTOMER SENT]' 
 
| Edit language file<b> email_extras.php</b> near line 41 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|-
 
| NAVBAR_TITLE 
 
|  'Send ' . TEXT_GV_NAME 
 
| Edit language file<b> gv_send.php</b> near line 13 in the directory ''includes\languages\english\YOUR_TEMPLATE'' 
 
|}
 
 
NOTE:
 
This table is made by looking for used defines in the following files:
 
* includes\modules\pages\gv_send\header_php.php
 
* includes\templates\template_default\templates\tpl_gv_send_default.php
 
Defines (configuration options) are defined in:
 
* configuration table in the database
 
* includes\languages\english.php
 
* includes\languages\english\button_names.php
 
* includes\languages\english\email_extras.php
 
* includes\languages\english\gv_send.php
 
Product type configuration option are ignored
 
Shipping, payment and Order Total module configuration option are also ignored
 

Revision as of 00:37, 5 December 2007