Chapter 2. Installation

If you know how to install a module in PostNuke 0.71+, you almost know how to install postguestbook.

  1. unpack (unzip) postguestbook.zip in the PN directory

  2. go to the administration-panel and choose modules

  3. regenerate the module list

  4. initalize the postguestbook module

  5. activate the postguestbook module [1]

  6. grant write access for the modules/postguestbook/smarty/templates_c directory to the webserver user. In unix you can use chmod 0777 templates_c. [2]

    Note: This is the point the differs from other module installations. Granting of write access can't be automated since the user acutally running the php-script (WebServer user) may not be allowed to do so.

    Note: This step can be skipped if only php styles are beeing used (new with PostGuestbook 0.4).

  7. make a menu entry for the guestbook

    you can/should use {postguestbook} as URL in core/menu block

  8. Allow the usergroups you like to sign the guestbook by adding Comment-Access for postguestbook in the PN permissions. To allow everyone to sign the guestbook you need to add the followin permission: Group="All groups", Component="postguestbook::", Instance=".*", PermissionsLevel="Comment"

    Warning

    The needed Permission for adding a new postguestbook Entry was changed from ADD to Comment. postguestbook allowed users to admin it :-(.

    Starting with postguestbook 0.3 admin rights are needed to modify posts and configure postguestbook.

  9. Verify your installation by running System Check from the postguestbook admin menu.

  10. The Guestbook should be working by now. See next chapter for Configuration options

Note: For Update use default PN-Modules update.

Notes

[1]

If the module is not activated you can still use it, but you will not see the admin-link

[2]

Smarty stores the compiled template files there and needs to have write access every time a html template is changed. Every time you update the configuration (with or without changing values) the compiled templates are deleted.