I am setting up a site that displays user's profiles with data including name, email, phone, address, interests, summary of background, etc. I have set a field in the database to keep the users contact info confidential to yes or no. If set to yes then the users name, email, phone, and address is displayed as confidential while showing the rest of the information and if set to no then it simply displays it.
Question is how can I do this within PHPRunner? My first thought is to set an event before view and then use smarty to block or show the contact info. I have searched the smarty site and docs but do not have a clue how to do this. Any ideas in detail how to make this work?
Thanks
Tripp Castell