![]() Add an action to this Rule - this is where you'll need to have some Drupal API chops - to map the submitted data over to a new node of the content type made for this data using Execute custom PHP code.Create a Rule that fires when a webform is submitted with the condition that it is the webform in question (Webform has name).Create your WebForm to collect the data.Set Pending as the default moderation state. "Enable moderation of revisions" under the Publishing options. Create a content type for the data of the requests.Create your Workbench moderation states.The thing to consider here is that Rules and Workbench work best on entities (not entirely true, but mostly). It's fine for content, but in this context I think it might be less than ideal. I say Webform here because the node edit form is not the "most user friendly" for request submissions. But, it can be done with a collection of modules working in concert.įrom the available modules standpoint, I think the easiest way to approach this is a combination of Webform, Rules, and Workbench. In most cases I created a custom module to handle the data input form, field permissions, notification routing etc. albeit in Drupal 7, but the principles will remain the same. If anyone has ever done the same thing before, I would love to hear your tips, experience. I am in my first year of Drupal 9 developing, purely working by myself, so I am not sure if my approaching is professional or not. if Forward to exec is selected, it will be emailed to someone who's in the exec role (it's the best way I can think of now).if approve/reject is selected, another email handler would notify the requestor about the status.the supervisor would select whether approve/reject/forward to exec from the radios element that's only accessible to the supervisor.custom email handler would email the link to notify the supervisor (to the user whom the requestor input in the very first field).I am trying to develop a website that where an user can submit a request, and the website would send the link of the submission to the supervisor automatically supervisor would follow the link and select either approve or reject a request. ![]() If you wish to post something of that nature we suggest you check out 's paid services job board Our Friends Friday: Useful things to know - Things you wish you had known earlier about Drupal.Thursday: Development questions & discussion - Coding questions go here.Wednesday: Contrib modules chat - Talk about recently tried modules, recommendations, warnings, etc.Tuesday: Triumphant Tuesday - post recent Drupal successes and site launches.Monday: Beginner questions - no question is too easy.Would you or someone you know make for an interesting Drupal AMA? Message the mods. When would you like to start? Let us know!.Mike Gifford (Accessibility Core Maintainer Drupal 8) – Click Here.The place for news, articles and discussion regarding one of the top open source (GPL) CMS platforms: Drupal. Check out the sidebar for our AMA schedule, or view our past AMA's.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |