How to display FrontEndUsers data value?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
milagro
Forum Members
Forum Members
Posts: 41
Joined: Tue Mar 13, 2007 8:33 pm

How to display FrontEndUsers data value?

Post 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.
NaN

Re: How to display FrontEndUsers data value?

Post 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
milagro
Forum Members
Forum Members
Posts: 41
Joined: Tue Mar 13, 2007 8:33 pm

Re: How to display FrontEndUsers data value?

Post by milagro »

Thanks do you also know how I can get the user ID?
Locked

Return to “Modules/Add-Ons”