[Radiant] Comments behaviors released (Sean Cribbs)
Nicholas Mulder [Mulder Consulting]
nick at mulderconsulting.ca
Sat Sep 2 19:06:09 CDT 2006
I have attached a rar of the plugin version of sean's commentable code.
But since the list should drop the attachment and it should take about
30 seconds to write, here is how to make it happen:
- Make a directory called commentable in vendor/plugins
- Make a sub-directory called lib inside the commentable directory.
- Copy all three of sean's files into that lib sub-directory
(comment_bucket_behavior.rb, commentable_behavior.rb and commetns_utril.rb)
- Make a file called init.rb
- Copy this into init.rb:
require 'comment_bucket_behavior'
require 'commentable_behavior'
- Restart your server.
After that everything should work as sean describes.
Nicholas Mulder
Mulder Consulting
905 658 5641
nick at mulderconsulting.ca <mailto:nick at mulderconsulting.ca>
Date: Sat, 2 Sep 2006 14:47:17 +0200
From: "Maurizio Balestrieri" <maurizio at gmail.com>
Subject: Re: [Radiant] Comments behaviors released (Sean Cribbs)
To: radiant at lists.radiantcms.org
Message-ID:
<1c7fecb90609020547g442d480eua34b8d0186fcdb6f at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello Nicholas, wouldn't you mind to share the plug-in code? Although
I've installed radiant as a gem, when you update it all extra
directories and files are deleted, so I think the plug-in (which
should be instance-specific) ahould work better for me too. Thank you.
--M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commentable.rar
Type: application/octet-stream
Size: 9940 bytes
Desc: not available
Url : http://lists.radiantcms.org/pipermail/radiant/attachments/20060902/7cf3ba03/commentable.obj
More information about the Radiant
mailing list