Drupal is up and running but how do I ...?

Converting View Exposed Filters (facets with bef) from Checkboxes to Select Elements While Maintaining Proper URL Parameters

I've been struggling for several days to display the same exposed filters (facets) as different form elements across two pages.

On the view's main page, the filters work correctly as checkboxes. However, on another page, I need to display them as select dropdowns to allow single selection.

What I've tried:

  1. Using hook_preprocess_views_exposed_form() - didn't work

  2. Using hook_form_alter() - partially worked but introduced URL parameter issues

Applying CSS Class to Images in Drupal 10?

I am using Drupal 10, CKEditor 5 and IMCE File Manager. In Drupal 7 you used to have an Advanced tab where you could assign CSS classes to the images.  I found the module Editor Advanced Link for links but cannot find anything similar to add a class to the IMG tags.   Anyone know of any modules that help bring back that Advanced tab for images where someone can add CSS classes to the images?

I know I can do it clicking SOURCE and hand coding it but trying to make it easier for the end user that does not know how to do that.

How to add free text search on title in Solr with Drupal? Facets vs exposed filters

Hey folks, I have a doubt.
I'm working on my first Solr search setup.

  • I have the server defined

  • I've exported the config.zip and loaded it in ddev

  • I've created taxonomy facets

  • The view is entity-based instead of fields and only has the status=true filter (to show only published content)

  • The facets are added as blocks (instead of exposed filters) and they work fine

Now I need to add free text search functionality for the title.

[solved] Show the description on taxonomy term pages?

It bothers me a little bit that the description field of taxonomy terms appears to be unusable (beyond the meta description). I have ensured that the field is enabled in Taxonomy […] Manage Display; I have switched my MAMP site to Stark to check that my own theme is not to blame (as most of it was begun a year ago and it is easy to forget what was edited).

PHP errors

Anyone else know how to fix this please, I am getting multiple errors about modules which I am using to do with SEO, if I remove them then it shows another module.

[23-May-2025 08:18:21 UTC] PHP Warning:  PHP Startup: session.gc_divisor must be greater than 0 in Unknown on line 0

Here is an example of the module error

Colorbox thumbs do not display in a row

.field-name-field-gallery-image { max-width:none !important; width:100%; }

.field-name-field-gallery-image .field-item { display: inline-block; margin: 5px; }

I'm sorry but the code above doesn't work for me in Drupal 10. I tried all sorts of things but the thumbnails just won't display horizontal.

Sample page: https://commonwealth-adegem.com/shailer-sidney-alan

Pages

Subscribe with RSS Subscribe to RSS - Post installation