I'm putting together a site where clients of mine can view the designs I've submitted for them. For each submitted design I need to include a button which enables the client to either approve or reject a design. I need to do this in such a way that the client does not have to access the node's edit mode ie. the button needs to be exposed in teaser and node view. Does anyone here know of an easy way to do that?

Many thanks

Comments

nevets’s picture

It depends in part what you mean by approve/reject a design (ie how is the information recorded). My first thought would be to write a small module Some thing that might also work is to use the actions and/or workflow modules to do the state change.

stormer’s picture

Good point. Obviously the Workflow-ng module does everything I need with the exception of exposing the button... well, maybe it does but I just don't know how. Writing a module is certainly waaaay beyond my capabilities. Any ideas very welcome.

nevets’s picture

You can specify links with workflow-ng and with theming make them look like buttons.

stormer’s picture

Link would be fine, it doesn't have to look like a button. I've had a look around the workflow-ng documentation but can't find anything regarding this scenario - are you able to point me in the right direction?

Thanks very much