New answers tagged

0 votes

Webform 4 passing in email token into the redirect url confirmation page

The token value is this: [submission:values:email] You can see all of it using this: [submission:values]
user avatar
0 votes

How do I hide the title on a specific node?

For Drupal 9, the title is a block. You can edit the block to exclude showing it on specific pages. If I recall, that's a core feature and not a plugin we're using. =)
user avatar
  • 101
0 votes

How do I add a filter to a checkbox list in a content editing form

In d7 achieved this by laying out the options as checkboxes and filtering with javascript. With d8 the entity browser is great if slow. (function ($, Drupal, window, document) { 'use strict'; ...
user avatar
  • 1,359
0 votes

I'm writing a node migration (D7 to D9) module but only the title gets migrated

I'm having trouble getting the body format migrated. Tried all of the above examples - but none seem to work. Does anybody have a working migration.yml file they can share for a D7_node to a new ...
user avatar
1 vote

How to prevent a node from being saved/updated by using the Rules module?

The following rule (using the Rules module) has been built to prevent the node from being saved/updated if the field 'a' is larger than 5. Rules is absolutely the wrong place to be doing this. Once ...
user avatar
  • 2,010
0 votes

How to Auto Publish nodes based on set interval?

You can check Scheduler & Scheduled Publish Module. Scheduler Scheduler gives content editors the ability to schedule nodes to be published and unpublished at specified dates and times in the ...
user avatar
  • 157
0 votes

attach an programmatically generated pdf file to a node

I use FPDF module library to generate a PDF file object, this library is beautifull and very easy to learn, allows you to control perfect what your pdf will look, as you can see i use variable_get, ...
user avatar
  • 1,588

Top 50 recent answers are included