Page 1 of 1

How to display FrontEndUsers data value?

Posted: Mon Nov 22, 2010 12:04 pm
by milagro
Hello I like to know how I can display a data-field value in the "Change Settings Template" from the FrontEndUsers module.
In the module help there is a option to display a list of data values:

Code: Select all

    
{$feu_smarty->get_user_properties(2,'userprops')}
{$userprops|@print_r}

Array
(
    [function] => Front-end Developer
)
I like to display the field function without the field.
How can I display this field without the $uid.
I thought I good display it by this line {$userprops[functie]} but that doesn't work.

Re: How to display FrontEndUsers data value?

Posted: Mon Nov 22, 2010 1:16 pm
by NaN
Since it is an associative array you need to use the dot-syntax to access certain values of the array in smarty:

$userprops.function

Re: How to display FrontEndUsers data value?

Posted: Wed Nov 24, 2010 11:21 am
by milagro
Thanks do you also know how I can get the user ID?