Using advanced filter - use a PHP variable?

12 years 4 months ago #184684 by bhesketh
Hi
I am creating a list in my CB where I would like the advanced filter to be able to associate some data from a separate component based on the user. Is there a way I can use a PHP variable in the advanced filter builder? And if not, is there a way I can hack in some of my own filtering instead?

Thank you for your time.

Please Log in to join the conversation.

12 years 4 months ago #184690 by bhesketh
What I'd like to do is change the filter based on if the user is logged in or not. Further, if they *are* logged in, change the results of the list based on the location of the user and the users that are provided in the results.

Please Log in to join the conversation.

12 years 4 months ago #184696 by bhesketh
Sorry for all the posts, I realize I can make a list for those logged in and those not and display links to them accordingly. However, I would still like to filter results based on some of the current users variables; for example, City or State. I also have checkbox fields in my users accounts which I would like to match with the current user in order to display results. Any hints or suggestions would be much appreciated!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.440 seconds

Facebook Twitter LinkedIn