רכיבי באנר קבלת פנים

סיכום מבוסס בינה מלאכותית

The discussion revolves around customizing the welcome banner in a Discourse community. Wurzelseppi asks about the location of site text for the welcome banner and seeks to modify the display of the username in the js.welcome_banner.header.logged_in_members variable, specifically replacing the dot in firstname.lastname with a space. Arkshine responds by suggesting the use of a theme component for the welcome banner, pointing to the relevant settings in the theme component, and mentions that the banner can be customized with a headline and subheadline. Wurzelseppi thanks Arkshine for the help and asks for further guidance on handling the variable substitution.

Hey guys,

didn´t find the right Site texts for these

Can you tell me where they are ?

And an additional question. The Site text label

js.welcome_banner.header.logged_in_members

contains this by default:

Willkommen %{preferred_display_name}!

This variable

%{preferred_display_name}!

Can I somehow use something like substitution here to tranform the username for display purposes ?
I´ve activated SSO, so I have always the same name pattern

firstname.lastname

In the banner I want to replace the “.” with an “[space]”.
What´s the best way to do that ?

Many thanks,

WS

The welcome banner available in core doesn’t have a headline by default.

You might want to use Advanced Search Banner theme component instead.
The texts are located in the theme component settings. Scroll down a bit:

image

You can achieve a similar result with this component: Banner Featured Links.

Hey @Arkshine, that was exactly what I wanted, thanks!

Any hints about this variable stuff?

Many thanks!