This howto was originally contributed by Ryan
If you are running Typo, the odds are good you know how this works. However, I’m posting this as a reference for those who may not.
Setting up the database
You can lookup your database values in your typo directory under config/database.yml. The database settings you are looking for are the ones under production, which begins on about line 15. It will look like this:
production:
adapter: mysql
database: DB_NAME
host: DB_HOST
username: DB_LOGIN
password: DB_PASSWORD
You want to use these values and edit the config/db.php file in your mint directory. Insert the values as follows:
$Mint = new Mint (array
(
'server' => 'DB_HOST',
'username' => 'DB_LOGIN',
'password' => 'DB_PASSWORD',
'database' => 'DB_NAME',
'tblPrefix' => 'mint_'
));
Adding the javascript
Once you have your database setup, you need to insert the javascript into your page. Go into your typo directory, and look in
themes/<your theme name>/layouts. The default theme name is “azure”.Open
default.rhtmlfor editingAround line 16, right before the
</head>tag, insert the following:
Save your file, and empty your typo cache using the admin interface.
Congratulations. Your typo blog is now minty fresh.