Home arrow PHP arrow Page 5 - Building A Quick-And-Dirty Guestbook With patGuestbook (part 1)

Playing The Field - PHP

Want to plug into what your site visitors actually think? All you need is a little time, a dollop of imagination and a copy of patGuestbook. More, inside.

TABLE OF CONTENTS:
  1. Building A Quick-And-Dirty Guestbook With patGuestbook (part 1)
  2. Introductions
  3. Home Sweet Home
  4. The Voice Of The People
  5. Playing The Field
  6. Code Poet
  7. User, User, On The Wall...
By: Harish Kamath, (c) Melonfire
Rating: starstarstarstarstar / 49
February 28, 2003

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
Once you've create the guestbook, you need to configure the fields within it via the "Configure Fields" command. By default, all guestbooks can capture the following information from visitors: name, email address, URL, and comments.



A configuration module allows you to control these fields, allowing you to decide, for example, which fields should be displayed to the user, which fields are required and which are optional, and the labels to display next to each field.

For the moment, you can leave the options in their default state, or change them if you like. When you're done, use the "Save Changes" command to save your changes.

patGuestbook also offers you the ability to allow visitors to answer one or more multiple choice questions, a feature it calls "ratings". Use the "Configure Ratings" command to view the ratings that are currently configured. Since this is a new guestbook, there are none at the moment; however, you can use the "Add a new rating possibility" command to add the question and possible answers to the system.



In case you haven't figured it out yet, the rating label is the question that should be displayed to the user, with the list of available options specified, one on each line, in the large text box following it. You can also specify whether answering the question is mandatory or optional. When you're done, use the "Save Changes" command to save your changes.

 
 
>>> More PHP Articles          >>> More By Harish Kamath, (c) Melonfire
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 9 - Follow our Sitemap

Dev Shed Tutorial Topics: