[TYPO3-project-seminars] New Seminar - configuration

Bernd Schönbach bs.newsfeeds at googlemail.com
Mon Aug 31 13:08:46 CEST 2009


Hi Andrea,

nice fix, but one note by me:

> II. PHP userobj 
> ---------------
> 	public function getSpeaker() 
> 	{
> [snip]
> 	}

Since you have an installed seminars extension, you also have an
installed oelib extension.

I would recommend to use the DB functionality which the oelib gives you,
like calling getLoggedInUser of the template helper class to retrieve
the current logged in FE user, and then use the seminars speaker class
to retrieve the speaker for the UID you retrieved for the FE-User.

Greets
Bernd


More information about the TYPO3-project-seminars mailing list