Password Protected Page - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: Password Protected Page (/showthread.php?tid=647) |
Password Protected Page - badcat - 2010-04-17 Anyone have any ideas for how to create a password protected page? Or possibly a redirect to a "hidden" page (not listed in the menu)? or a Plugin? thanks! Password Protected Page - n00dles101 - 2010-04-17 Hey, This is how I did it on one of my sites, needed some quick and easy. You'll need Customfields plugin installed... setup a new field as a dropdown with one option"protected" and a second textfield called "password" Change your template file where you echo the page content to Code: if (returnCustomField('pagetype')=="protected"){ The content of protected.php is Code: <?php Could probably be coded a lot better but he needed something fast and this works for him... Hope it helps... Mike.... Password Protected Page - badcat - 2010-04-17 n00dles101 Wrote:Hope it helps... As ever, awesome! Thanks - will try it out. |