Review Site User Manual

INTEGRATING WORDPRESS

Adjust Text:  a a a a
« Table of Contents   |   Obtain Review Site »


INTEGRATING WORDPRESS

In addition to adding articles to your site there is a good possibility that you have thought about adding a blog. If so, you can activate the link to your blog in the navigational links of the public Review Site pages. To do so you only have to visit the Configure > Paths / URLs page and add a relative URL for the site_blog_url variable.

If you happen to choose WordPress as your blogging platform you can take advantage of an extra feature that Review Site offers. This is a WordPress theme that matches the look of the rest of you Review Site pages. By using this theme you blog pages will appear to be perfectly integrated into your Review Site web site.

How you go about installing your WordPress blog to your web site is not something that I am going to cover here. I'll leave that you you to figure out (in practice it's very simple).

Adding The Review Site Theme

WordPress themes are distributed as a zipped directory of files that, when unpacked, go into the following themes directory of your WordPress installation (assuming that your blog directory is /blog):

/blog/wp-content/themes

To use the Review Site theme, first locate the following zipped file from the Review Site distribution:

/rs/reviewsite/my/skins/default/blog/wordpress.zip

Unpack the file to find a directory named monopoly. You will add this directory to the WordPress themes directory by uploading the directory to your web site. Once you have it in place go to the administrative area of your WordPress blog. Click on the Design tab in your navigation bar. All of your available themes should appear unde the Themes section and the monopoly theme should be present. All you need to do is click on it to activate it.

It is not possible to put the correct paths (and possibly the wording of links) into the monopoly theme, so you will be required to edit the theme a little. To do so, locate the following file in the monopoly theme and edit it to correct for these issues:

/blog/wp-content/themes/monopoly/header.php

In particular, look for the <img> tag that specifies the URL for the logo. You'll probably need to correct that path so that it points to the correct location in your Review Site image directories. The default path is the following, but probably won't be correct due to your renaming of the default paths:

/rs/reviewsite/my/skins/default/images/index/reviews.png

When you have corrected the logo URL, look for the specification of the site name in the div element immediately below this. Change it from My Site Name to whatever the site name is that you have used for the Review Site configuration variable site_name. Also look at the language used in the naviagtion and footer links displayed in the header.php file. If there are differences when compared with the same links on your Review Site pages, then correct the language in header.php so that it all matches. Once you have attended to these issues your blog pages and Review Site pages will appear to be perfectly blended.

I have to confess that the monopoly theme is not perfect. It is based on the Sandbox theme available from PlainTxt.org. After spending a few hours wrestling with it I decided that I was not able to improve it any more. Maybe someone with more expertise with WordPress themes will find a way to improve it and clue me in :)

Note that in contrast to the Review Site pages, for which the search box works on Article and Review records, the same search box on the WordPress pages works on blog entries.


Next Section: ADDING COLUMNS TO A TABLE

« Table of Contents   |   Obtain Review Site »


Copyright © 2008 Random Mouse Software. All Rights Reserved.