[Solved] FrontEndUsers viewuser template
Posted: Mon Apr 09, 2012 7:02 pm
I'm building a website where customers can login and go to a customerpage.On this page I want the user to see his settings used in frontendusers.
I use :
and the settings are printed on the page.
But I want to have control over the layout so I open the detailtemplate:
I tryed to add this line :
but the 'adres' field is not shown.
Using the foreach loop doesn't give me any control over the layout.
How can I solve my problem. Please help ...
Musicscore
I use :
Code: Select all
(FrontEndUsers action='viewuser'}
But I want to have control over the layout so I open the detailtemplate:
Code: Select all
{* view user template *}
<p>{$feu->Lang('id')}: {$userinfo.id}</p>
<p>{$feu->Lang('username')}: {$userinfo.username}</p>
<p>{$feu->Lang('expires')}: {$userinfo.expires}</p>
{foreach from=$user_properties item='entry'}
<p>{$entry.prompt}: {$entry.data}</p>
{/foreach}
Code: Select all
<p>Adres: {$userinfo.adres}</p>
Using the foreach loop doesn't give me any control over the layout.
How can I solve my problem. Please help ...
Musicscore