How to limit the results of a page viewed to content created since the flag date ?

I created a custom module to display a news feed. When a content is created, the module will create a "Message". The user "Flag" the parent "Group" and receives the messages.

My problem :

When a user flags a "Group", he receives all the "Message", even the "Message" before the Flag.

I want the user to only receive "Message" from the date of the Flag.

You must therefore filter the view like this:
The "Message" created after the Flag date are displayed.

Translating to a different language

Hi,

I have a multilingual website in English and Hebrew.

How do I translate to Hebrew on my English website?

Thank you!

need default username and password for open-social

I have installed open-social on my windows 10 machine using the git opensocial_template. 

When I navigate to the html folder using Chrome I am requested to login.

I tried db root with no password and that does not work.

I also tried creating a new user in phpMyAdmin and that also does not work.

Any ideas?

After update custom module show no changes

Hello I'm new in drupal, I have a problem with drupal 8.8. The site has a custom module, to obtain data from an API. After editing the source code of it. Clear the cache, restart the server and manually execute the cron, but still the changes are not observed, do I need to do something else? What i'm doing wrong?

Message with modal window

in a form after checking on the user I would like to display a msg with a modal window, so that the user is forced to read and then move on.
I currently use \Drupal::messenger()->addMessage()

Translating countries to a different language than my website's language

Hi,

It sounds simple but I've been struggling with it for long hours:

My question is: how do I get a country name of a certain country in a different language?

The details: I have a multilingual website, Hebrew and English.

When I am on the English website, for example, I have to translate "United status" to Hebrew. But I'm on the English website so I can't use any of the methods...

One of the things that I tried to use was

$countries = \Drupal\Core\Locale\CountryManager::getStandardList();

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x