Can't Make Pages Private - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Can't Make Pages Private (/showthread.php?tid=9530) |
Can't Make Pages Private - soundbwoy - 2017-03-08 Hi Guys, Here's my dilemma! I need to make certain pages private that are been used as content in another page (<?php get_i18n_content('page'); ?> but when I set page to private it still shows up, even when I'm logged out! Please Help! RE: Can't Make Pages Private - shawn_a - 2017-03-08 Try incognito mode to be sure RE: Can't Make Pages Private - soundbwoy - 2017-03-09 (2017-03-08, 11:27:03)shawn_a Wrote: Try incognito mode to be sure Hi Shawn, Content still showing? RE: Can't Make Pages Private - Carlos - 2017-03-09 That's correct, it's how the function works (like GS's getPageContent) To accomplish what you need, you have to something like PHP Code: <?php if (returnPageField('page','private') != 'Y' || is_logged_in()) { ?> RE: Can't Make Pages Private - shawn_a - 2017-03-09 ah i failed to read properly RE: Can't Make Pages Private - soundbwoy - 2017-03-09 (2017-03-09, 01:44:35)Carlos Wrote: That's correct, it's how the function works (like GS's getPageContent)perfect! thank you Carlos and Shawn! |