user defined tag & frontend user
Posted: Sun May 28, 2006 2:45 pm
Hi guys
I would like to get the id of the frontend user logged in a "user defined tag"
I know I can get the username with this code
and then make a mysql request to get the id.
but is there a quicker way ?
I would like to know too if it is possible to set frontend user properties in a tag
thinks for your help
++ PG
I would like to get the id of the frontend user logged in a "user defined tag"
I know I can get the username with this code
Code: Select all
$tpl_vars = $gCms->smarty->get_template_vars();
$tpl_vars[$username];
but is there a quicker way ?
I would like to know too if it is possible to set frontend user properties in a tag
thinks for your help
++ PG