Is it possible to query the user id or username of a logged in user in PHP/Joomla 3 and assign that to a variable? If so how?
Im trying to create user specific content. Specifically some graphs which are held in a location whos path includes reference to a directory with the same name as their site user id.
If I can pull their user id and assign that to a variable I can then create a path to their own specific content using the contents of the variable specific to them.