I have a CCK checkbox for approving a node (if it's checked, it shows up in a certain view).

Is there a way to build a link in a node-type.tpl.php file that updates a value for this CCK field (in effect, setting it to on instead of off), without the moderator/user having to go to the edit form, check the box, then re-save the node?

It was suggested in IRC that the Flag module might be able to help with this, but I'm not 100% sure, and would rather not enable a whole module if I can simply make this link myself in a template file or theme function.

(Also, it would be nice if I could create a simple link to update the workflow on the node... but that's a different task, different day).

Comments

ezraw’s picture

I know you said you didn't want a module, but have you checked out http://drupal.org/project/editview?

Ezra Wolfe
DLC Solutions
EthosCE

geerlingguy’s picture

That might help immensely... I will download and try that module, to see if it could save a step or two.

__________________
Personal site: www.jeffgeerling.com