add new page - view page that can access publicly February 15, 2022, 06:59:44 PM i am trying to make a new "view" page call card.php and i have checked this page as DO NOT require authenticationthe url is http://localhost:8080/gfgleads2/leads/card/http://localhost:8080/gfgleads2/leads/card/72but still this url can only access if user login.any idea? Quote Selected
Re: add new page - view page that can access publicly Reply #1 – February 16, 2022, 05:04:09 PM @andrewmak please provide a screenshot of your configuration. Quote Selected
Re: add new page - view page that can access publicly Reply #2 – February 21, 2022, 07:38:13 AM Hi, thanks for taking time for helping, i already figure out the method to make page view publiclyi need to manually remove the following code, in the page controller fileQuote $allowed_roles = array ('hq', 'agent', 'agency'); if(!in_array(strtolower(USER_ROLE), $allowed_roles)){ $db->where("leads.agent", get_active_user('agent') ); } Quote Selected