Call user name within Joomla article

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
Spinhosay
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat May 19, 2018 4:07 am

Call user name within Joomla article

Post by Spinhosay » Fri May 24, 2019 9:44 pm

Hello, I have an article that I made that we can call welcome to new users. I would like to customize the first sentence with his name, I understand that this article will only be visible to those who are logged in. What code should I use at the beginning to call the name of the user reading the article?

thank you!

CDXXonline
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Fri Oct 13, 2017 8:00 pm

Re: Call user name within Joomla article

Post by CDXXonline » Sat May 25, 2019 12:37 am

Requires php which the editor will strip out, unless maybe you have some sort of extension installed for it. Create simple module and display it in place of the article using menu assignment.

https://docs.joomla.org/J3.x:Creating_a ... sic_Module


Post Reply

Return to “General Questions/New to Joomla! 3.x”