Reviews


Another original core component of PostNuke is the Reviews module. It allows users to submit their opinions and rating of any item or topic. User-submitted reviews are placed in a queue and wait for an administrator's approval before being displayed publicly.

To see how the review process works, first go to the Administration Menu page and click Reviews. The Reviews Administration page has two main sections. The first lets you retitle the Reviews page and provide a description of the reviews you publish on your site. The second area lists all the reviews currently awaiting approval and has a link where you can add a new review. Click the Write a Review link to go to the Review Submission page (as shown in Figure 6.14).

Figure 6.14. Adding a review to your site.


To edit or delete an existing review, you need to browse the Reviews Section as any user. Administrative accounts are automatically detected and provide additional links to manage review content.

Many PostNuke sites focus on technical content, and on those sites, reviews usually relate to software or hardware products. But the Reviews module can apply to any topic, and continuing with the book example in this chapter, enter a review of Isaac Asimov's book The Robots of Dawn.

In the Product Title text box, enter "The Robots of Dawn by Isaac Asimov." Enter your own text for the Review field, or you can use this text from the publisher, Spectra Books: "A puzzling case of roboticide sends New York Detective Elijah Baley on an intense search for a murderer. Armed with his own instincts, his quirky logic, and the immutable Three Laws of Robotics, Baley is determined to solve the case. But can anything prepare a simple Earthman for the psychological complexities of a world where a beautiful woman can easily have fallen in love with an all-too-human robot...?"

As you can see in Figure 6.14, a limited selection of Hypertext Markup Language (HTML) tags are allowed to format reviews, and multiple pages are supported using a special page break comment.

Enter your name, email, and the star rating you want to use. The Related Link text box allows reviewers to link to outside sources for more information, such as a manufacturer, a movie's official website, or in your book example's case, an author's or publisher's website. Enter Asimov's official site: http://www.asimovonline.com/.

After populating the Related Link text box, the URL needs a title. Enter "Isaac Asimov's Home Page" into the Link Title text box.

Though not required, users also have the ability to display an image with their review. The image must be located on your server in the /modules/Reviews/images/ folder. You cannot upload the image into that directory, so users need to provide images to the site administrator separately, or when an item is approved, the administrator can find an appropriate image and add it to the review.

The image Asimov-Cover.gif is in the book materials and you can copy it to your server to see how the image addition works. Be certain to pay attention to the filename case when referencing files on Linux servers.

Submit the form and click the Reviews link in the Main Menu to see how reviews are listed. Click your review to see how it looks. If you used the sample content given previously, it should look similar to Figure 6.15.

Figure 6.15. A simple book review.


Note

Reviews can be removed by clicking Delete on a review's page, while logged in with administrative access. There is no confirmation check, so be certain you want to remove the item before clicking the Delete link.


No categories are built in to the Reviews modules to group the different entries. They are simply listed by the title letter. It is, however, possible to sort a given list of reviews in ascending or descending order by title, reviewer's name, rated score, or hits using the arrows in the title row.



    PostNuke Content Management
    PostNuke Content Management
    ISBN: 0672326868
    EAN: 2147483647
    Year: 2003
    Pages: 207
    Authors: Kevin Hatch

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net