New answers tagged

0

The User Authentication API only provides an API. It doesn't provide any authentication class that can be used to really authenticate users. What the screenshot in the question shows are the classes used by the tests implemented by the module, whose purpose is only testing the module works correctly. You need to find a module that uses the User ...


0

I had the same issue with Drupal 7. How to understand the issue? This happens when in a given region, you have used all allowed weight numbers from -55 to 55. Number 0 can be used for multiple blocks but the system will not behave the right way. Some people suggest you remove few blocks. That works, but what if you do not want to delete blocks? In my case, I ...


3

You should never, ever keep a duplicate/backup copy of any theme or module anywhere under /sites/all. You can't control which copy Drupal will find first, and you may actually be using parts of both. You must move the backup copy outside of Drupal root. You will need to clear your caches and perhaps rebuild your registry after you do that.


0

When on Drupal 8, you have the https://www.drupal.org/project/allow_iframed_site module perfectly doing the job. The module has an easy setup page for limiting iframing by path. Drupal 8+ has a feature built into core that stops the site from being rendered within an iframe, there are good reasons for this - https://www.drupal.org/node/2514136 But sometimes ...


0

Though I am seriously late to the party, you can also grab the query thusly if you use the Search API module. After you created a View associated to your search index, you can use: /** * Implements hook_preprocess_views_view() * @param $variables */ function YOUR_THEME_NAME_preprocess_views_view(&$variables) { if ($variables['view']->id() == '...


0

Today, within Drupal 8|9, taxonomy_bulk_actions contrib module can do that for you.


1

my English is not very good but you can follow these steps to solve your problem. 1 -add email, 2 -select custom body and the values you want to include, 3 -exclude empty values and boxes that are not checked, you can personalize even better by writing your text and adding the value you want. for example: "yourText": [webform_submission:values:...


0

This code works for removing the CSS from frontend: libraries-override: system/base: false Just use the above in yourtheme.info.yml


0

I solved following this tutorial: https://webocreation.com/blog/notice-constant-date_rfc7231-already-defined-in-includes-bootstrap-inc-on-line-258/ Open /includes/bootstrap.inc Go to line number 258 Comment out the following line: //define(‘DATE_RFC7231’, ‘D, d M Y H:i:s \G\M\T’); Then add following line: if (!defined(‘DATE_RFC7231’)) { define(‘DATE_RFC7231’...


0

In Drupal 7, the "Global: Result summary" field in Views header gives you a few tokens to get access to some of the view information (e.g. it has a token named @name -- the human-readable name of the view to print the View name). For fetching the View display name, though, you need to create a custom Views handler to define your own tokens: ...


Top 50 recent answers are included