You are here:  » config.php


config.php

$config_title

Used in the <title> element of pages where no product or search related title is generated.

$config_charset

Controls the character set of the HTML generated by the script using a header() statement at the top of header.php. This is to ensure that the HTML generated is in the same character set as the product feeds that you are using. The default value is "utf-8" which is suitable for product feeds in most languages; however you may need to use "iso-8859-1" if you find that some characters are not being displayed correctly.

$config_baseHREF

The path to your Price Tapestry installation relative to the root directory of your website. If you are installing Price Tapestry into the top level directory then this value should be left as "/"; however if you are installing into a subdirectory this value must contain the path to the subdirectory, and must start and end in "/", for example "/shopping/".

$config_useRewrite

Set to TRUE to enable search engine friendly URLs. To be used in conjunction with .htaccess and mod_rewrite on Apache web servers, or similar rewrite mechanism on other platforms. See Additional Installation Steps for more information.

$config_useRelated

Set to TRUE to enable the related products feature. This feature uses the Search Results HTML module to show a list of items similar to the main product on price comparison pages.

$config_useTracking

Set to TRUE to enable outbound link redirection via jump.php which enables tracking of clicks and also hides your affiliate links from the browser. If this setting is enabled an additional "Clicks" column is added to the feed list on the administration homepage.

$config_currencyHTML

Contains the HTML code you wish to appear infront of all prices on the site. Examples include "&pound;" for the £ character, "&euro;" for € or simply "$" for US Dollar. May also be a simple 3-letter currency code; e.g. "CHF" (Swiss Francs)

$config_resultsPerPage

Sets the number of search results displayed per page.

$config_databaseServer

The name of your MySQL database server. Normally this is just "localhost" if the database server is running on the same machine as your web server. Contact your host if your do not have this information.

$config_databaseUsername

A username for access to the MySQL server. This would have been provided by your web host when you received your account details. It might be the same as your FTP username to your web hosting account. Contact your host if you do not have this information.

$config_databasePassword

A password for access to the MySQL server. This would have been provided by your web host when you received your account details. It might be the same as your FTP password to your web hosting account. Contact your host if you do not have this information.

$config_databaseName

The name of a database in which your MySQL account has permission to create tables. This may have been provided by your web host when you received your account details, or you may have a mechanism to create new databases using your web hosting control panel.

$config_databaseTablePrefix

If your web hosting account is limited to just 1 MySQL database; you can specify a table name prefix to use so that Price Tapestry does not interfere with any other applications that you may have sharing the same database. The default value is "pt_".

$config_adminPassword

Password required for access to the /admin/ folder of the installation.