Forums / General / print current user in templates

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

print current user in templates

Author Message

Thomas Brandl

Wednesday 06 August 2003 1:09:27 am

Hy there,

since I still have my "anonymous has all rights but gains no access"-problem, I want to track the problem down.
I need to verify that the one visiting my site is truly "Anonymous" and that he belongs to the group he's supposed to. However I was not yet successfull with sth. like
{$current_user|attribute(show)} in templates...

So, what does the magic?

Thanks a lot!
Tom

Karsten Jennissen

Wednesday 06 August 2003 1:27:03 am

See
http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/fetching_current_user

Regards,
Karsten