Recent searches
No recent searches

Diego Rod
Joined Apr 15, 2021
·
Last activity Feb 14, 2022
Following
0
Followers
0
Total activity
4
Votes
0
Subscription
1
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Diego Rod
Diego Rod commented,
Ah thanks, it makes more sense now!
I was just grabbing the username from the user menu in the top left, but yeah the HelpCenter object seems like a more elegant solution.
Thanks again!
View comment · Posted Sep 24, 2016 · Diego Rod
0
Followers
0
Votes
0
Comments
Diego Rod commented,
Thanks Taf, but why if I try to use {{HelpCenter.user.name}} directly to print the username in the homepage template I get:
Unable to preview 'Home page' due to invalid reference: {{HelpCenter.user.name}}
Or can I use this object only in javascript? Also where can I read more about these rules? I couldn't find anywhere that I have to put "HelpCenter" before user.name for it to work.
Thanks!
View comment · Posted Sep 24, 2016 · Diego Rod
0
Followers
0
Votes
0
Comments
Diego Rod created a post,
Hi! According to this doc there's a user.name object that supposedly shows the name of the logged in user, but when I add {{user.name}} to the home page template I get "Unable to preview 'Home page' due to invalid reference: {{user.name}}"
So how do I print the user name in a template? I'm not having any luck with this site's search or google :(
Thanks!
Posted Sep 22, 2016 · Diego Rod
0
Followers
3
Votes
5
Comments