Set the dynamic name on the homepage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 09:47 PM - edited ‎12-27-2022 09:54 PM
As shown in the picture, I want to set a dynamic display of the name of the current user in the homepage page, and the setting in the page designer is the title field.
At present, my practice is to query an extra line of HTML in the widget. I would like to know if there is any way to display it directly in the configuration of the page designer.
How should I set the dynamic name/first name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 11:22 PM
Since it is directly taking title as "options.title" as string, displaying it dynamically will need a code change in server side and HTML.
Getting the first name of logged in user and store in data.user and display it in HTML instead of options.title.
This will require widget customisation and cloning.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023