I want to make the node created comments to close status when user will select the close from the select box.Means the comment node with not be editable further.Please support me to solve this...
I want to make the node created comments to close status when user will select the close from the select box.Means the comment node with not be editable further.Please support me to solve this...
Comments
Comment #1
madymad commentedHow to change status of comment node to closed programmatically
Comment #2
Anonymous (not verified) commentedSomething like this module? Or maybe this module based on views?
Comment #3
madymad commentedsolved
Comment #4
Anonymous (not verified) commentedNo you do not have that coded correctly. There is an examples project that you should review for an example of how to implement hook_form_alter.
Comment #5
madymad commentedThanks , finally i can able to update the database through the form_alter. Now i can change the comment status through programme but when i change the comment field of node table to 1 the node page should be read only mode but after changing its stats is not change..for closing the comment which tables and fields have to update...can you tell me....