Page 1 of 1

FrontEndUsers: How do I find out Users' settings

Posted: Tue Apr 17, 2007 10:30 am
by AndyHolyer
I've set up a FEU system with self registration, which asks users which of our three campuses they work on. Now, in other parts of the site, we do things differently depending on where they are, and it would be sensible having asked them once, not to ask them to enter it again, at least by default.

So how do I find out what they've selected in a template? I'm sure it must be really easy....

Re: FrontEndUsers: How do I find out Users' settings

Posted: Tue Apr 17, 2007 1:51 pm
by calguy1000
add {cms_module module='FrontEndUsers' mode='silent'} into your template someplace
then do a {get_template_vars} to see what variables are exported by the FrontEndUsers module.

Once you know the variables, you can use smarty expressions with those variables to enact different behaviour.