load->view('templates/header_boxed', $data); $this->load->view('users/view_index'); $this->load->view('users/view_external_footer'); * */ // Load Hybridauth's helper $this->load->helper('hybridauth'); /* // Instantiate Hybridauth's classes $hybrid = new Hybridauth(get_hybridauth_config()); // Get login links $login_links = get_hybridauth_links($hybrid, $this->router); */ $login_links = array( 'Google' => get_google_login_link(), 'Apple' => get_apple_login_link() ); // Pass login links to html template $data['login_links'] = $login_links; // Render html template $this->load->view('site3/external/view_home'); ///home/oameye/wrenchboard/www/application/views/site3/external } public function registration() { $this->load->view('users/view_registration'); } public function login() { // $this->load->view('users/view_index'); // $this->load->view('users/view_external_footer'); } }