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 created a module to authenticate and log in users thanks to a card and I need to check if they can access the website.
The problem is with the way Drupal manages sessions. It stores every sessions in the database and restores it, so the user is automatically logged in, this causes the user to not go through the checking process.
Is it possible to stop storing the sessions in the database ?
I am trying to access the field content for a view. I have been using dump, kint with varying degrees of success. I have to quit the browser each time I try something new and clear the cache. (I have correctly setup debugging in my settings etc files.
I am coming from a very strong procedural drupal background. I have studies OOP, Symfony but I am just not connecting the dots.
I have function themename_preprocess_views_view_unformatted(&$variables) {
$variables[??????????????]
}
The core image field widget offers to select a local file to upload. But what if I don't have the file locally but have an URL to a remotely hosted file? Can't seem to find a widget that would offer to either select a local file OR enter an external URL to get the image from.
this is my first post and I am completely new to drupal. I have problems installing Drupal on a Windows 7 machine on Zend Server.
The installation process went well but after a while of browsing, I get: Recoverable fatal error: Argument 1 passed to twig_init() must be an instance of Drupal\Core\Extension\Extension, array given in twig_init() (line 34 of core\themes\engines\twig\twig.engine).
In my opinion the single greatest failure of Drupal is to force the theme development community to improve their offering.
One of the great advances for Drupal 8 is the shield identifying modules that are certified for installation.
This concept must be applied to themes. There is an urgent need for themes to be certified for (a) installation on a new Drupal 8 website and (b) installation on an existing Drupal 8 website and (c) being able to be installed through the Appearance->Install new theme feature provided with Drupal 8.