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

Views css token's doesn't work

Drupal 10.1.6 version, trying to use token's in view custom css, but nothing working.

I added term id field to list, excluded from display, and on Title field: Style settings -> Custom field HTML -> Add HTML class -> added class [Term:id] (tried different variations) and it shows like - <span class="field-content -termid">. I need it to be <span class="field-content 3">.

Or maybe it's other way to do this?

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 '&amp;amp;', which made my code impossible to run...

Pages

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