Categories
CMS Drupal Mastering Development

Sub-theme adding prefix to all block machine names

On my site, I have created a sub-theme of a sub-theme using this as a guide to set this up https://www.drupal.org/docs/8/theming-drupal-8/creating-a-drupal-8-sub-theme-or-sub-theme-of-sub-theme and it does work with carrying over all of the css/js/regions but for some reason, it is renaming all of the blocks with the prefix of the sub-theme. So, for example, I have a […]

Categories
CMS Drupal Mastering Development

Sub-theme adding prefix to all block machine names

On my site, I have created a sub-theme of a sub-theme using this as a guide to set this up https://www.drupal.org/docs/8/theming-drupal-8/creating-a-drupal-8-sub-theme-or-sub-theme-of-sub-theme and it does work with carrying over all of the css/js/regions but for some reason, it is renaming all of the blocks with the prefix of the sub-theme. So, for example, I have a […]

Categories
CMS Development Drupal

Download file after filling a form

On my site, the visitors can download whitepapers as pdf. I would like to gather some information before handing over the file. What I tried: I looked around for modules. Some of them seemed to do something lik this but were Drupal 7 only, like Webform Protected Downloads. On the site I can make use […]

Categories
CMS Development Drupal

How do I limit who can edit a node?

On my site, everybody can edit a node. Six hours after a node has been created, only administrator users should be able to edit it. How can I implement this?

Categories
Bootstrap Development

How to create an offset over an anchor link?

On my site, I have the Bootstrap 3 theme with a fixed navigation bar. Some of the text is hidden by the navigation bar. How to create an offset over an anchor link ?