Skip to main content
Topic: add new page - view page that can access publicly (Read 1679 times) previous topic - next topic


 

Re: add new page - view page that can access publicly

Reply #2
Hi, thanks for taking time for helping, i already figure out the method to make page view publicly

i need to manually remove the following code, in the page controller file

Quote
      $allowed_roles = array ('hq', 'agent', 'agency');
      if(!in_array(strtolower(USER_ROLE), $allowed_roles)){
      $db->where("leads.agent", get_active_user('agent') );
      }