10. System Settings

Top  Previous  Next

System settings are values that used in the system scripts. By default there 19 settings in the system:

AUTHNET_API_LOGIN_ID - the API Login ID that can be found on the Account -> Settings -> Security Settings -> General Security Settings ->API Login ID and Transaction Key section of your Auth.NET Account Settings page
AUTHNET_API_MD5_HASH_VALUE - your MD5 Hash Value that you can set on the Account -> Settings -> Security Settings -> General Security Settings ->MD5-Hash section of your Auth.NET Account Settings page
AUTHNET_API_TRANSACTION_KEY - the API Transaction Key you have to generate on the Account -> Settings -> Security Settings -> General Security Settings ->API Login ID and Transaction Key section of your Auth.NET Account Settings page
AUTHNET_USE_TEST_ACCOUNT - on - your Auth.NET test account is used, off - your real Auth.NET account is used, transactions are processed
CURRENCY_CODE - currency code used by Auth.NET (USD, EUR, GBP etc.)
END_YEAR - End year in the list of years of Year type data base fields.
FEATURED_DISP_FORM_ID - Featured display form id.
FEATURED_LISTING - Database field that represents "Featured" flag.
FIELD_ADDRESS -  The system setting that represents "Address" database field and is used during using Google Map Address feature.
FIELD_CITY - The system setting that represents "City" database field and is used during using Google Map Address feature.
FIELD_STATE - The system setting that represents "State" database field and is used during using Google Map Address feature.
  FILENAME_DELIMITER -  A symbol which will be used during pictures importation.
IMPORTED_IMAGE_DIR - The way which specifies a directory of an imported image relative to the 'admin' folder. 
LISTINGS_PER_PAGE - Number of listings displayed per one page.
  MAX_VIDEO_FILE_SIZE - to change the size of the downloaded file. By default, there is set 10 MB.
NOTIFICATION_EMAIL - Email used for system administrator notifications.
PAYPAL_ACCOUNT_EMAIL - PayPal account email.
PAYPAL_RECEIVER_EMAIL - Receiver email for your PayPal account.
PRICE - Database field that represents listing price.
REQUIRE_USER_ACTIVATION - Require or not user activation via email. "on" - require, "off" - not require.
SALES_DISPLAY_FORM_ID - Display form id used to display featured listing.
SAVED_ADS_FORM_ID - Display form used for saved ads page.
SMTP_FROM - Email used for From field in auto notification emails to users.
START_YEAR - Start year in the list of years of Year type data base fields.
TEMPLATE_ADMIN_THEME - Admin panel theme.
TEMPLATE_USER_THEME - Front end current theme.
USE_SANDBOX_FOR_PAYPAL - Use or not sandbox for PayPal payment processing. "on" - use sandbox, "off" - don't use sandbox.
USE_SMTP - Use SMTP class or mail php function for sending emails. "on" - use smtp class, "off" - use mail function.
  VIDEO_LINK_CAPTION - to change the video link caption. Here you can input any text caption or write html code to show an icon.

To view the list of settings click on "System settings" link in the left administration menu. System settings page will be opened (see Fig.26).

To add new System setting enter its' name to the "name" field of dialog box labeled "Add new system setting", choose the type of the setting (the top field is string, the bottom is database field), enter setting value and press "Add". New setting will appear in the system settings list. You can change name and value of setting by entering new name to the "Name" field and new value to the "Value" field in the System settings list and clicking on "Save" button. There is also "DB field" colon in the system settings list, which shows whether setting value is database field or not.

To delete System setting click on the "delete" link in that setting row.

System_constants_page

Fig 26. System settings page.