Score:-3

How to replace the default text of the home page, when it is empty?

sm flag

On the Drupal 9 home page, there is a text displayed by default, when no content has been created.

I want to modify the text of this page, when there is no result. I go to the "frontpage" view and add an unfiltered text field in "Behavior when there are no results".

My problem is that it has no effect. I still have the default text that appears.

How to replace the default text of the home page, when it is empty ?

Score:1
id flag

Based on who is asking I assume this is Olivero theme and this is about the "Congratulations and welcome to the Drupal community" message, although you did not specify. If that is the case, you must override the template core/themes/olivero/templates/views/views-view--frontpage.html.twig.

francky avatar
sm flag
Perfect thank you
id flag
The idea is that you accept correct answers.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.