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

Juicebox HTML5 Responsive Image Galleries

Dear Drupal fans.

I hope I can post here my problem. I hope it can be resolved.

My problem is:

I have run and I maintain several Drupal 10 sites on two different hostingplatforms.
In my sites I use the modul Juicebox HTML5 Responsive Image Galleries in exactly the same way.

All went perfectly till I upgraded from Drupal 10.1.7 to Drupal 10.2.0.
After this upgrade Juicebox HTML5 Responsive Image Galleries wil not longer work correctly in every browser.

How to use Drupal hook_views_query_alter to change views sorting

 Hi Team,

Modify sorting criteria using views_query_alter

I want to add numbering sort for text column, so I have added lpad formula in order by field. but it escaping the characters "(", "," in the formula

I am using hook view_query_alter, module code is below,
 

Locking mechanism does not seem to be working... any idea what could be wrong?

I run the following code in Devel:

$lock = \Drupal::lock();
if ($lock->acquire('PV_Counter'))
   {
   print_r('I hold and will not release the lock named PV_Counter');
   // Code to use next counter and increment it
   // ...
   //$lock->release('PV_Counter');}
else
   {
     print_r('I do not hold the lock');
   }

Then my colleague runs the same code in Devel on the same Drupal site.

User logged out after redirect back from Payment Provider (Qenta)

Good day everyone.

I am currently working on a payment process of a Drupal 10 application using Qenta. The payment process is initialized by setting #action inside buildForm of a form class to the payment-process-init-url of Qenta. The payment process works correctly but after Qenta redirects back to the Drupal 10 application using the provided successUrl the user is logged out even though the session cookie is still alive if I look into the developer tools of my browser (Chrome 120).

Deprecated method stopPropagation() in drupal 10

While upgrading from drupal 9 to drupal 10 i am getting error as call to deprecated function stopPropagation() , i would like to know how can i fix this error.

Try number 2 still crapping out. WTF? Not even the drush version will run without throwing exceptions. Why is this so F'ing diff

Nevermind. Thank god for ChatGPT. It fixed it and rewrote the whole thing and it works fine now.

Jesus christ this is absurd.  So I got some actual help from folks on the Reddit Drupal site and I started over.  I now have created a completely green test module use the "drush generate" command. Here is where I am at:

Pages

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