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
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 3
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
$tag - Reference to the tag (and its children) that shall be handled.
All the work is done in the execute step.
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
To install Konstrukt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konstrukt
CPAN shell
perl -MCPAN -e shell install Konstrukt
For more information on module installation, please visit the detailed CPAN module installation guide.