I have an installation of Drupal 10 and CKeditor5. I am trying to add the test ident butons, both left and right, but they appear grayed out on the menu bar of the editor on the content pages. How do I fix this?
Also I want my user to be able to add borders to an images uploaded via IMCE but I can't find anything on this?
I have a node that has a reference field to the taxonomy vocabulary.
In the Manage display of the reference field, the Rendered entity format is selected, and the view mode (**field_image** field display)
I need to override the template and make something like this:
We try to get the following working. We want our website to be GDPR and Google Consent V2 mode compliant, and still be able to use Google ads, and monitor the google ads.
Hi All, in a headless Drupal setup I need to do some checking after the user has logged in and if needed logout the user programmatically. I try with hook_user_login and if the checks fail then I call user_logout(). With this approach I get errors and the user is logged in anyways! The error I get is " Warning: session_destroy(): Trying to destroy uninitialized session in Drupal\Core\Session\SessionManager->destroy() (line 237..." What is the right approach to handle this problem? Any help is very much appreciated. Regards Thomas S
Hi, Views in Drupal is probably the most evoluted core module, with a lot of options and flexibility.
One of the typical use cases is to attach a view to an entity, to show other entities B that are linked to the parent one A. When I say "attach", I mean that A passes some arguments (typically its id) to the contextual filter of the view to restrict the view to just related Bs.
This is a so common scenario that I thought there was a native/core module to do that but, after a long search, I couldn't find one: