Writing a Review


Both you and your users can submit reviews by going directly into the Reviews module itself; there's no administration piece for writing a new review. Click the Write a Review link to begin writing a new review. You can provide a title for the reviewed product, as well as the review text. To encourage detailed reviews, PHP-Nuke does request that reviews be at least 100 words long, as shown in Figure 22.2.

Figure 22.2. Writing a new review.


The text of the review can contain the usual common HTML tags for formatting, plus a special tag used to break the review into multiple pages:

  • <br> creates a line break. Use two in a row to create a new paragraph, separated from the previous one by a blank line.

  • <b> boldfaces text. Just pick whatever you want to be boldfaced, and surround it with <b> and </b>.

  • <i> works similar to boldfacing, except that it italicizes. Whatever you want to be in <i>italics</i> should be surrounded by these tags.

  • <u> handles underlining; just surround text with the tags to make that text <u>underlined</u>.

  • You can surround paragraphs with the special <p>paragraph</p> tags. Doing so eliminates the need to use the <br> tags because paragraphs are automatically separated by some whitespace.

  • You can add images like this: <img src="http://www.mywebsite.com/ images/mypicture.gif">. The src portion points to a graphic file that's living on a Web server someplace, which means the image tag enables you to insert a picture into your text.

  • The <!--pagebreak--> tag, which can be used only in certain areas of PHP-Nuke, breaks long content into multiple pages. PHP-Nuke automatically provides next and previous links, allowing users to navigate through your material very easily.

After the review text, users provide their name and e-mail address, and rate the product on a scale of 1 to 10 (with 10 being the best). They can optionally provide a link to the product's home page on the Web (and, if they choose to do so, must also provide a descriptive title for the link). The review can contain the URL of a product image.

If you, the administrator, submit a review, it goes live immediately. Reviews submitted by other users go on hold until you approve them through the Reviews administration section (that's the same place where you set up the Reviews module title and description).



    PHP-Nuke Garage
    PHP-Nuke Garage
    ISBN: 0131855166
    EAN: 2147483647
    Year: 2006
    Pages: 235
    Authors: Don Jones

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