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

How to put module css priority over theme css?

Hi

I have created a module and attached a library following this page here

https://www.drupal.org/docs/creating-custom-modules/adding-stylesheets-c...

My library is loaded but the themes css has priority over modules css.

I have tried setting

  css:
    base:
      css/mycss.css: {}

which should reset the css styling

Custom Module using Breadcrumbs as a Service - main methode (applies()) is not getting implemented.

Hey all,

I am working on a custom module that displays events. The events come from a remote service and I to set the breadcrumbs for the Events (list) page and the individual event page.

The individual event page works as intended (siteName/Events/EventName), however the event (list) page does not work (siteName/Events). Using devel_dump and echo, I am able to see what is executing, the _Construct executes, but the applies() method does not fire in my EventsBreadcrumbsBuilder class.

I think it has something to do with my route.

I'm including all file info.

Live chat support , chatbot for Drupal 9

Hello,

May i've asking to have any about free live Chat or Chatbot for drupal 9?

Any Suggestion u all have? just comment here

Thanks in Advance.

hide / show a field, user can select, in Drupal 9

Hello and hope this is the appropriate forum section.   I searched for my key words but no results.   I am using Drupal 9

I may be making heavy weather of this.   I have a node with several fields one of which I want to be hidden initially, with a tick box or radio button or similar that the user can click on to reveal the field's contents.

I have looked for Drupal modules to support this functionality for example Rules, but none seems a good fit.   So diagrammatically:

Field 1 (always on display)

How to add multiple values on exposed filter on REST Export

Hi team

I've created a view using REST Export

I'm using an url like this to get some items that has state 356 and table bzn:

http://localhost/items?status=1&state=356&table=ZBN

And this works good, but i would like to add one or two values to table, something like this:

http://localhost/items?status=1&state=356&table=ZBN,LXX

onKernelRequest and onKernelResponse messages

Hello,
Can anybody tell me why I keep getting the messages in the "Subject" line displayed on every page? Is there some definition somewhere? I am on Drupal 9.2.7, but this also happens on earlier D9 versions. 
Thanks for any hint
H. Stoellinger

Pages

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