Page 1 of 1

Property Variables and CustomContent

Posted: Mon Apr 21, 2008 10:32 pm
by sjmann
Hey all,

I was wondering if someone can tell me whether it is possible to extract the property variables from a user, which are defined by FrontEndUsers. I know you can access the information, and test whether it is true or false with:

Code: Select all

 {if $ccuser->property("propertyname")
However, is it possible to use that information as a variable for page display?

For example, I would like it so that users select a variable from a drop down box. Then, depending on their group and the variable, they will be shown certain content. I know this can be done with groups, but I want the content to change itself based on their signup choices.

Sorry if this is vague, been spending far too long in front of a PC lately.

Cheers in advance for any help.

Re: Property Variables and CustomContent

Posted: Mon Apr 21, 2008 10:34 pm
by calguy1000
read the smarty manual, it's very simple with the capture block plugin.  or by reading the help in the CGSimplesSarty module.

Re: Property Variables and CustomContent

Posted: Mon Apr 21, 2008 10:39 pm
by sjmann
Cheers, thank you.