Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I’d like to make a module to change a field of node for a type of node when someone comment with a comment field value on this node. Like:
Node field is: field_node_state (text type field, default value is “open”)
Comment field is: field_comment_state (text type field)
If someone comment on a node with field_comment_state field value: “Closed”. Then this node’s field_node_state will be changed to “this ticket is closed” from the default value “open”
It appears that Drupal 8.x cannot be updated from 8.x.x to 8.x.x version without command line interface (CLI) access.
This sad state of affairs exists in part because numerous contrib modules in D8 require the use of CLI installation and maintenance using the CLI composer utility and the CLI drush utility for installation and updating.
The following drupal.org documentation also includes clues that D8 is essentially impossible for site builders to update without CLI access.
My front page is basically a view that lists teasers of node type article. How can I show a specific submenu and mark one item in this submenu as active (+ its parent) when
1) the front page is opened or
2) any article is opened?
I know 2) can be done with the module "Context Active Trail" and "Context UI", but I want to do it without a module and I think the module can't do 1) anyway.
I'm a newbie. This is the first module I've tried to write. It is basically a D8 version of Date Reminder. I'm taking it in baby steps. Step one is to cause it to run when cron runs using hook_cron. That works. Step two is to generate a simple email using hook_mail then there is hook_mail_send to deal with.
Latest Drupal 8.2.4 version, simple newsletter, SMTP mailer, EVA, Relative to Absolute Filter with all text formats set to convert to absolute.
I have created a few views that display on my newsletter content type as fields. While viewing a newsletter I created on the website all links are showing up as absolutes. When I email the newsletter all links arrive as Relative. Not sure what I'm doing wrong.