Posts Tagged ‘smarty’

Installing Get Satisfaction’s Help Center

Friday, May 30th, 2008

Just found out about Get Satisfaction’s brand new Help Center and tried to install it? No doubt you’ll run into a few bugs along the way. However, follow this guide and you should be fine.

Install Smarty into an include directory
  1. This is most easily done by extracting the lib/ directory from the Smarty package into a new directory called includes/
  2. Rename the lib/ directory to smarty/
  3. Add the following line to your Help Center’s config file:
    set_include_path(get_include_path() . PATH_SEPARATOR . '/path/to/includes/');
Install the HTTP_Request PEAR library
Install this like any other PEAR library. If you don’t have PEAR, download the archive and extract the HTTP_Request-* into the previously created includes directory. Then rename the HTTP_Request-* to HTTP
Setup the database
  1. Create a database called “sprinkles”
  2. Import the schema from the included SQL file, sprinkles-schema.sql
Create a folder for compiled templates
Create the templates_c/ directory in the Help Center directory to hold the compiled templates for Smarty and make sure it is writable.
Edit your config
Edit config.php in your Help Center installation and add the following, replacing “root” and “password” with your respective database username and password:
$mysql_username = 'root';
$mysql_password = 'password';
Run the web installer
Head to your installation of Help Center in your browser and the web installer will kick in.

Hopefully this process becomes easier in the future. I would recommend to the Get Satisfaction developers to include HTTP_Request and Smarty with the Help Center package.

Hi. I live here to keep the peace. You can ignore me now :)