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

Using a TH tag in the first position of content row

I'm building a custom module which calls for a table that has TH tags as the first cell in every row of a table.  Be damned if I can figure out  how to make that happen.

<!--break-->

The table.html.twig documentation says:

Each cell contains the following keys:

how to do ajax callback in custom block, which will fetch records from database dynamically in Drupal 10?

I have created custom module to load records dynamically with Ajax callback in custom block in drupal 10.2. But Ajax callback does not work in custom block, where callback function is written on same custom block file, please see the code below,

Error 503 Backend fetch failed Backend fetch failed Guru Meditation: Varnish cache server

I recently deployed my Drupal 10 website on OVH, making it accessible to the public. However, when I test the form (Webform module) which includes a field for uploading a file, upon clicking the 'submit' button, an error appears on the page: Error 503 Backend fetch failed. Guru Meditation: XID: xxxx Varnish cache server.

The form is a 'Webform' module in Drupal 10. It was working correctly in my local environment; I was able to submit the file without any issues. However, now that it's in production, when I test it, I encounter this error

Issue with RSS Feed Validation Errors Preventing site's Google News Appearance

Dear Drupal Support Team,

I hope this message finds you well. I am reaching out to report an issue I'm encountering with the RSS feed generated by our Drupal site, which is affecting its appearance on Google News.

I have successfully published our site on Google News following all the required procedures. However, upon further inspection, I have discovered that the RSS feed generated by the Views with Feeds module is encountering validation errors. These errors are preventing our site from appearing on Google News.

Using the Cache API for Entity Caching

Greetings,

I am reading up on the Cache API, and have a question about caching users (or objects in general) in the DB, i.e. the cache_default MySQL table.

Please consider the following simple function to retrieve a User object (I know this type of code should probably live in a custom service, but am using a function here, just for clarity):

Pages

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