Search found 4 matches

by shoovi
Sat Aug 29, 2020 12:53 pm
Forum: General
Topic: Request: Mandatory Author's category
Replies: 9
Views: 3649

Re: Request: Mandatory Author's category

Ok, I've made it!

Code: Select all

	$login = new Login();
	$myLoggedUser = $login->username();
	
		$myLoggedUserObject = new User($myLoggedUser);
		$myLoggedUserFirstName = $myLoggedUserObject->firstName($myLoggedUser);
by shoovi
Fri Aug 28, 2020 11:02 pm
Forum: General
Topic: Request: Mandatory Author's category
Replies: 9
Views: 3649

Re: Request: Mandatory Author's category

So my point is that I want to get the logged user first name, not a user name.

The first name is the field that can be optionally filled in the Admin panel, and I need to be able to access that value while I am logged in.
by shoovi
Fri Aug 28, 2020 7:29 pm
Forum: General
Topic: Request: Mandatory Author's category
Replies: 9
Views: 3649

Re: Request: Mandatory Author's category

Thanks, Edi,
Yes, I do it. I create a new $login object and then I try this: $login->user('firstName');
but I get nothing.

;(
by shoovi
Fri Aug 28, 2020 10:41 am
Forum: General
Topic: Request: Mandatory Author's category
Replies: 9
Views: 3649

Re: Request: Mandatory Author's category

Hi, I am working on some customization of the page's theme and I can not get the first name of the logged user. So if I am a logged user I'd like to see my "firstName" displayed on the screen. I tried this $login->user('firstName'); but it does not work. How to get the FirstName of the log...