[Radiant] Pondering comments and logins

John W. Long ng at johnwlong.com
Sat Jul 8 23:07:55 CDT 2006


Al Evans wrote:
> It looks fairly easy to add an "Accepts Comments" behavior following the 
> general design of Oliver Baltzer's Search behavior. This would provide 
> an "Add Comment" button and associated text field, maybe using AJAX. It 
> looks like pages aren't meant to be created except by a logged-in user, 
> and this might be a problem. I'd like to be able to allow someone to 
> post a comment without making them a full-fledged user. I don't 
> understand the permissions system very well yet, though.

Commenting is on the official roadmap, but I'm not sure what to tell you 
in the meantime. It should be possible to make an "Accepts Comments" 
behavior like you describe. You just need to call the appropriate 
methods on the model objects when the form is posted. Matt McCray's 
mailer behavior might be a good one to look at 
(http://dev.radiantcms.org/radiant/wiki/ThirdPartyBehaviors).

> But that brings me to my main point. The login system seems thoroughly 
> embedded in the structure of the application. However, I'd really prefer 
> to use OpenID http://openid.net or my own OpenProfile extension of 
> OpenID http://openprofile.net in place of some or all of it. (I think 
> OpenID provides about as much authentication as you can get in a web 
> app, and it's nice for the users.)

I'm not very familiar with openid, but I think you could write a plugin 
  fairly easily. Just require the WelcomeController and override the 
login and logout methods to do what you need.

--
John Long
http://radiantcms.org



More information about the Radiant mailing list