Property Variables and CustomContent

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
sjmann
Forum Members
Forum Members
Posts: 13
Joined: Mon Apr 21, 2008 10:21 pm
Location: London, UK

Property Variables and CustomContent

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Property Variables and CustomContent

Post by calguy1000 »

read the smarty manual, it's very simple with the capture block plugin.  or by reading the help in the CGSimplesSarty module.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
sjmann
Forum Members
Forum Members
Posts: 13
Joined: Mon Apr 21, 2008 10:21 pm
Location: London, UK

Re: Property Variables and CustomContent

Post by sjmann »

Cheers, thank you.
Post Reply

Return to “Modules/Add-Ons”