preloader

Tag: Drupal 8

[SOLVED] Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Could not delete /sites/default/default.settings.php or default.services.yml

[SOLVED] Installation failed, reverting ./composer.json and ./composer.lock to their original content. [RuntimeException] Could not delete /sites/default/default.settings.php or default.services.yml

On Drupal 8 or Drupal 9, you might encounter any of the following error messages when running Drush or Composer commands in the command line. For instance, any of these errors can happen while installing a new module via composer, or running drush updb, or any CLI commands: Installation failed,.

How to add Captcha to Webform contact forms

How to add Captcha to Webform contact forms

To add CAPTCHA to forms using the Webform module, for example contact forms: Install and enable the Captcha module Go to settings of the CAPTCHA module /admin/config/people/captcha To ensure, CAPTCHA is used in every possible and available way, Enable: Default challenge on non-listed forms. Enable CAPTCHA for every form not listed here Save In.

Drupal 8 – How to display the First and Last Name or any custom fields as title of page

Output as fields on twig Using below references, managed to output combined custom fields – first name and last name fields in user.html.twig template, without using hook alters or overwriting the user page template file: https://www.drupal.org/project/twig_field_value https://blog.usejournal.com/getting-drupal-8-field-values-in-twig-22b80c… Output on Page Title as tokens Probably for search engine optimization (SEO) purposes, you.

Drupal Contact module menu and form not visible

Drupal Contact module menu and form not visible

If you are using Drupal’s core Contact module and yet the form is not showing up from the menu, check on the following: Check if the contact module is enabled and in use under the modules listings page  Check if the menu is enabled under the Main navigation menu and is set.