Konstrukt::Plugin::guestbook - Konstrukt guestbook
<& guestbook / &>
This Konstrukt Plug-In provides "easy to implement" guestbook-facilities for your website.
You may simply integrate it by putting
<& guestbook / &>
somewhere in your website.
You may do some configuration in your konstrukt.settings to let the plugin know where to get its data and which layout to use. Defaults:
#use a captcha to prevent spam guestbook/use_captcha 1 #you have to put <& captcha / &> inside your add-template #backend guestbook/backend DBI
See the documentation of the backend modules (e.g. "CONFIGURATION" in Konstrukt::Plugin::guestbook::DBI) for their configuration.
#Layout guestbook/template_path /templates/guestbook/ guestbook/entries_per_page 10 #administration guestbook/userlevel_admin 2
Yes, this plugin may return dynamic nodes (i.e. template nodes).
Initializes this object. Sets $self->{backend} and $self->{template_path}layout/. init will be called by the constructor.
Installs the templates.
Parameters:
none
Prepare method
Parameters:
All the work is done in the execute step.
Parameters:
Displays the form to add an entry.
Takes the HTTP form input and adds a new guestbook entry.
Displays a confirmation of the successful addition or error messages otherwise.
Displays the confirmation form to delete an entry.
Deletes the specified entry.
Displays a confirmation of the successful removal or error messages otherwise.
Shows the guestbook entries.
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.
Konstrukt::Plugin::guestbook::DBI, Konstrukt::Plugin, Konstrukt