Re: [nmsinc] Limit record listings based on record field in User File
Hi nmsinc,
If you're using the Website Membership plugin, you might be able to get away with something like this simple line of code in the PHP block at the top of your restricted page.
<?php if ($CURRENT_USER['your_field'] == "your_value"): ?>Current user will be able to see this<?php endif ?>
There are lots of tips and tricks about how to implement the membership plugin in my CMSB Cookbook
http://www.thecmsbcookbook.comHope that helps.
Jerry Kornbluth
The first CMS Builder reference book is now available on-line!
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php