Displaying name of logged in user in an include file

I’m struggling with how to display the name of the logged in person in an included file. My right column has an include file (_rightcol.php) which has either a login form or a logout button depending on whether the visitor is logged in. This works perfectly using the Show or Hide actions. But I also want to show the name of the logged in person above the logout button. I’ve tried everything but just can’t get it to work. I am desperate to not resort to custom PHP code as I want to use Wappler to its full potential.

All help gratefully received. Many thanks.

Jon

Community Page
Last updated: