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.
This is again driving me mad half of the day. Since the new once plugin, things got harder.
I have dynamically generated elemsnts in a list i want to delete. Simple add/delete.
Everything works find but i have a problem on deleting the new added. The following code works fine but is fired MULTIPLE times. But as it seems once can not be used with document or window.
Whenever I do Clear All Cache from Admin Gui, it throws warnings as it cannot remove .../sites/default/files/css and .../sites/default/files/js directories
Status Report says:
The directory sites/default/files is not writable.
When I check file permissions they are as follows
drwxrwxr-x
What else do I need to correct in order to not get the above warning/error?
Is it possible to import a static HTML project (containing html, css and js files) into Drupal? We have an HTML project created via jsdoc (containing client side documentation) which we want to import into Drupal.
It's my first post here, I have a problem with my Drupal 10 site. I am using Ckeditor to edit content in a section of a view in source mode so that I can add some custom HTML code with Javascript (adding a dynamic dropdown list for appending filters to the URL), my Javascript code involves some logic with the '&' sign, but whenever I switch between WYSIWYG and source mode, it changed to '&', which made my code impossible to run...
For a site whose content on many pages is primarily composed together using Layout Builder, is there way to find, either through an admin interface or through programming, where (in which nodes / entities or URLs ) particular blocks have been embedded?
Most of the blocks that I am interested in locating in the front-end are created by webform, or custom modules.
Thanks for info about any approach that others have used to get this information!