This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Drupal once with dynamically added elements [solvend + solution]

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.

Clear All Caches throws error : rmdir permisson denied

I am upgraded my site from 9.5 to 10.1.6.

The problem:

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?

Thanks

Can't "Create release" for new module release

I made few changes to contribute module Comment on top but I can't make new release.

I'm getting error 404 - Page not found when I click on "Create release" on

https://git.drupalcode.org/project/comment_on_top/-/tags.

I tried on different browsers.

 

Query about importing static HTML project into Drupal

Hello Team,

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.

Any pointers will be really helpful.

Thanks,

Questions about CKEditor Source

Hello guys!

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...

Finding nodes / urls embedding a particular block via layout builder

Dear Drupalers,

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!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions