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

Captcha D7

Just recently ran into an issue where the site is including a captcha_sid and captcha_token twice and they are different values. This is causing a reuse error. Google searching I found other reuse error cases but none that seems to apply to my instance.

<input type="hidden" name="captcha_sid" value="2286952" />

<input type="hidden" name="captcha_token" value="5638a7ed31fb98c597661ec8e71e4618" />

video slider not pause when slider change

Hi,

I am using flexslider for create public or private video slider. Slider working fine but when I change slide the video not pause. I need previous slide video should be pause .

Thank you! 

Control if node exist (D8)

I am doing tests to check, in the submit phase, if the node I am inserting is already present or not. The control can be on one or more fields.
I don't know if the solution I wrote is right or not. I tried with the title field and it works, it seems to work also with the entity reference (field_livello), it doesn't work for me with the data field and I didn't understand how to do it.

Here is the code in form_alter
   $form['#validate'][] = 'liveContra_validate';

Trying to develop a D9 website

I have been trying to develop a website and I need some help with it, it should take no longer than 30 minutes. my email is guptaru1@msu.edu, I would appreciate it if anyone could help me,  thank you!

What is hook use to get all HTML content from module?

I search to use a hook to get all HTML content to replace certain occurrences on code.

I want use `DOMDocument()` to modify some elements.

My actual hook but I can't get all page HTML...

D9 Drupal\Core\Database\Query\ExtendableInterface::leftJoin() undefined

I'm starting the process to migrate my custom modules to D9. Some things are easy, like replacing drupal_set_message(). This one is throwing me. My controller class is instantiating a database connection to a custom table and building a select query.

This works in 8.9.13

Pages

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