Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By stormer on
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
It depends in part what you
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.
Good point. Obviously the
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.
You can specify links with
You can specify links with workflow-ng and with theming make them look like buttons.
Link would be fine, it
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