'Publish Link' for Comments in Approval Queue

EoinBailey - September 14, 2009 - 21:28
Project:Publish Content
Version:6.x-1.1
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I didn't see this anywhere in the issue Queue or documentation, hope I'm not stating the obivous! But I think it would be great if the 'Publish Link' was available in Views for Comments that are in the 'approval queue'. Is there a way to do this?

Thanks!

#1

malaussene - September 15, 2009 - 16:46

Currently it is not implemented but it is a nice feature. patch welcome.

#2

abou rokaya - October 24, 2009 - 08:23

u can implement it, it's so easy..

u will need the view module and the token module...

go to view add a new field to ur view (comment id), if u don't want this field to appear u can exclude it...

and than add another field (Custom text), configure this new field:

put the label that u want like "publish", and then right the text that will be printed by this field "click here to publish", and then check the combo box "Output this field as a link", the link path will be:

comment/publish/[cid]

note: if the view of ur comment control panel is a page, it will be nice if ur use this link path:

comment/publish/[cid]?destination=pathofurcommentcontrol

 
 

Drupal is a registered trademark of Dries Buytaert.