Friends, in Drupal 10 I am suffering much more than expected to be able to do what I did in Drupal 7.
I know that Drupal has changed a lot since version 8.
The question is: should I have installed Drupal 9 because I will have less problems with instabilities and module incompatibilities? or follow on Drupal 10?
What is the opinion of expert friends?
Thanks!
Hello friends.
First of all, I want to thank Jay Friendly (Jaypan) and Andrey Vitushkin (wombatbuddy) for their great attention and willingness to always help. Thanks!!
I want to let you know that I solved the CRONTAB issue using the Ultimate Cron module suggested by Jaypan (I don't know if it's the best way, but it's working) and I ended up giving up using the super useful Rules module with its triggers. I'm creating "by hand" my needs through hooks.
The Drupal 10 release, as described, is mostly about deprecations and removing old code. So it's pretty easy to port your modules to Drupal 10, they said!
But actually - not!
Together with deprecations, we have some libraries updated to the new major versions too, and this can bring you little unexpected surprises when you try to make your module compatible with both Drupal 9 and 10 versions together.
Here I am again!
In Drupal 7, I've always used Rules a lot for some automations. I got to have dozens and dozens of rules in some projects.
Now, studying Drupal 10, I also intend to be able to use them a lot.
But right off the bat, I ran into the kind of problem I don't have the ability to solve.
Simple thing for expert friends, I think.
When I'm inserting a rule, more precisely a condition, where I want to compare two fields of a content type, we have the option to browse the fields in "data selector" mode.
I need to stick specific comment on top of others which will remain from oldest to newest. When it's stick on top it's replies must be with that comment.
So I made links in .module file which will take method from controller