Changing BlogCFC's comment approval
One little thing thats bugged me with BlogCFC with moderated comments is the need to go from List > View Comment < back to list to approve. Silly I know but still ... So I've added the following on the comment.cfm page in the admin section
1<input type="button" name="approve" value="Approve" onclick="location.href='#application.rooturl#/admin/moderate.cfm?approve=#comment.id#'" />
All this does is add the button "Approve" to the view comment page to smooth out the flow of the process
| Tweet |
Did you put this on comments.cfm? I think you mean comment.cfm. My problem with this is - what if the user made a slight edit to the text, then hit your button. The edit would be lost.
@Ray. Hmmmm good point. I suppose Ive never made a tweek to a users comment. Maybe using using Js(jquery) we could just hide the Save button unless the text box is edited in which case we hide the Approve button and just display Save??
I don't know. Maybe the table view of comments could have a way to view the text inline - so you could approve it there.
[Add Comment]