Allows you to add a paginated Guestbook in Radiant which will randomly display a guest’s comments on a page.
Radiant Extensions
Shared-Layout, http://github.com/radiant/radiant-share-layouts-extension
Gems
Will_Paginate, http://wiki.github.com/mislav/will_paginate
Place the guestbook extension in vendor/extensions
git clone git://github.com/scullygroup/radiant-guestbook.git vender/extensions/guestbooks
Run the migration of the Guestbook extension
rake radiant:extensions:guestbooks:migrate
rake radiant:extensions:guestbooks:update
This extension uses Sean Cribbs excellent radiant-share-layouts-extension (http://github.com/radiant/radiant-share-layouts-extension).
The project show view is wrapped in a block (in this example, this queries the body column):
<% content_for :guestbook do %>
In order to invoke the view on a Radiant page, create a layout called “GuestComments” and insert the following radial tags wherever you want the guestbook to appear:
<r:content part="guestbook" />
Copyright © 2009 Scully Group, released under the MIT License