Hello I have written a controller for data visualization.
Before I upgraded to version 9.4.3, when I made a change to a node the data display through the controller was right
I upgraded ala version 9.5.5 (but already from the previous 2), the data display through the controller is not exact.
If I change the title or a field of a node and launch the controller, it does not display the updated data but the previous one.
I am forced to launch cache clearing first to get the exact display.
How can I do to solve the problem ?
In Drupal 7 I was a very har user of php code inside a page (I know I'm a crazy dude), and this way I buid a lot of functionalities (believe me).
Now that I want to be a really Drupal developer (at my 58 years old), I can't believe that I can't have a simple way to put my php code and print on a page in a simple module.
Until now, I just see weird ways to put code in variables and return this in functions.
Can you teach me the most simple way to process a php code and print on a page on a custom module?
I am completely new to Drupal and Three.js, and I need help with implementing a Three.js 3D model in my Drupal website. I have created the 3D model using a 3D modeling software and exported it as a .gltf file format, which is compatible with Three.js.
However, I have no idea how to add the necessary Three.js library files to my Drupal website or how to display the 3D model on a web page or content type.
I want to save searches made by user in a view by the hook_views_query_alter ..... after the user put tha data in the form serach in the view, i saved it in other table ( create custopm node historySerach)
it is a track I follow it or there is a drupal module ?