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

How to change link text in a view ... to another field value?

I am running a Drupal site since Drupal 4 days.............It got upgraded from Drupal 7 to 8 successfully and now it is running Drupal 10.

Before Drupal 8 I was having a block showing recent comments as table with 1. comment subject, 2. author, 3, node title and 4 date-time as fields. I had put code to change the node title to an alternate title (say title_mf which I have in a different table with additional/alternate data for nodes ... node_alt_data)

Code injection

Hello good!

I need help with a problem that we have detected on the website of one of our clients (escofet.com). 

We have seen that there is spam code injected into static pages, but I can't find how it gets there. It does not appear in the database, nor in any ftp file... 

I have deleted the content of the page template and it continues to appear.

In the home page, for example, the following code appears, which is only visible in the source code:

More efficient ways to do this?

Hi,

I have created a website for a food bank that generates food vouchers by identified referrers. The food voucher code is exchanged for food parcels by the person referred. All works perfectly well but I need to display statistics about the food parcels on the website.

"Missing Dependencies" error in Drupal Module

Hello Everyone,

Hope you all are doing well !!

I am a fresher here to Drupal, and my problem statement is as follows:
There is an existing Drupal code (.info and .module files only in repo), which needs to be promoted to Drupal9 which will contain .info.yml file, I have tried to manipulate existing one, but it throws error saying "Missing 'application'" which is added in my dependencies in .yml file. I am attaching screenshots for reference and looking forward for some dedicated support please to fix this error.

How to pass JS variables to the server (for .php files in my module)

Hello,

I am currently trying to build a simple module that calls a Javascript function to ask for a users location data, (lat and long). Then take those two variables and send it back to a function inside of my moduleservice.php file. What would be the best way of doing this, or is my approach improper?

Thanks

Pages

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