If have used {debug} to see what data i can access in a page.
Now the stuff i need sit’s in {$GLOBALS} like
current_user => Array (17)
id => 3759
user_name => bla
email => bla@bla.com
group => Array (2)
id => users
caption => Users
But how to i get the data i need to show on my page? Like the e-mail adress?
If you’ve only access to the template file, you could assign
$GLOBALSto a smarty var$globalslike this:$thisrefers to the active Smarty object.A better way to implement this, when having access to the PHP script, would be:
Template file:
Optionally use a filter like: