Slavo Uhrin
Monday 18 July 2005 5:54:39 am
Is it possible to find out if the user has ever logged in itself?
independent eZ developer | http://howgh.sk
Eivind Marienborg
Monday 18 July 2005 6:54:21 am
I think you might be able to use the last logged in timestamp. I suppose that will be blank if the user hasn't logged in yet.
But the timestamp isn't available in all versions of eZ Publish, as far as I've understood.
Monday 18 July 2005 7:00:45 am
Thanks, do I need to use a SQL query or is there any way how to get it via the standard template mechanism?
Monday 18 July 2005 7:07:04 am
It's not available in the eZ version I'm running, so I'm not completely sure. But you might try {$user.last_visit_timestamp}, and change the 'user' to current_user/node or whatever you're getting it from.