how to override drupal.autocomplete jquery position?

Hi

The module is calling drupal.autocomplete.

I've tried to debug what this calls and it looks like its the autocomplete.js within the core jquery.ui folder.

This is positioning a div as absolute then using offset to make the div look as though it is a dropdown on the autocomplete form element.

As the position is being set through jquery it can't be overridden in CSS.

Do I just create a custom jquery function to alter the offset position.
Or is there a drupal specific way of overridding the offset?

Decoupled Drupal - OAuth PKCE SSO Flow

OAuth PKCE SSO for Headless Drupal

Authenticating Users stored in a Popular, Custom Identity Provider (IdP) and enable Single Sign On. Pretty straightforward right
How about performing the authentication using PKCE / PIXY OAuth flow? A little less so.

And now add Headless or Decoupled Drupal into the mix. Things start to look a lot murky

Sectors: 
Government
Technology

Output a number of nodes created (certain type) without using Views

Hi, I would like to output (within text in block) the number of nodes created in certain content type. Something like: "We already have [number of blog nodes] blogs created with [number of post nodes] posts". I have achieved it easily just using views (aggregation) and embedding it in text, but there is a performance issue. It has to load 2 views with large number of nodes to display just those 2 numbers. 

Is there any other (more performance friendly) way to achieve it? Any simple module? Any PHP snippet? 

Thanks,
Michal 

Getting error while adding/rearranging sort in Views. Drupal\Core\TempStore\TempStoreException: Couldn't acquire lock to update

I am trying to add/rearrange a sort criterion in view in drupal 8.x, but getting error Drupal\Core\TempStore\TempStoreException: Couldn't acquire lock to update item 'search' in 'tempstore.shared.views' temporary storage.  

Is there anyone who can help in this regard. Thanks in advance!

How to handle error message on newly installed site

Will someone please guide me on how to handle the following error on my newly installed site? I am using the 8.9 version.

The website encountered an unexpected error. Please try again later.

The website address is The website encountered an unexpected error. Please try again later.

Thanks and regards

Upgrading from Drupal 8.9 to Drupal 9.36 in a non-techie way?

I am not a tech guy. but I wanted to upgrade from Drupal 8.9 to Drupal 9.36. is there a non-technical way to do so? I can see the composer.json file in the file manager. But apart from that, I am not sure what to do next. Please let me know if there is a non-technical way to upgrade like updating from Drupal 8.7 to 8.9?

www.japanesemarine.com

Thanks and regards

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x