Restricting folder access based on membership level

12 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 11, 2010   (RSS)

By Dave - May 11, 2010

Hi Jerry,

Will there be sub-folders or no? If no subfolders you can use this:

<?php $folderName = basename(dirname(__FILE__)); ?>
<?php echo $folderName; ?>

Then use foldername in your "where". If there's subfolders we'll need something more advanced.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Restricting folder access based on membership level

By gkornbluth - May 11, 2010

Wow! Thanks Dave,

I'll make sure that there are no sub folders and give it a try. If it works, I'll post what I finally come up with.

Again and again, you folks Rock!!!

Best,

Jerry
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