Welcome Guest, Not a member yet? Register   Sign In
[solved]Backspace key problem while surfing (new noob inside).
#2

[eluser]Asshai[/eluser]
I don't know why but the problem (404) while surfing solves if i do this:

Just one controller named 'Site' with functions for each nav menu:
Code:
public function home(){

  $data['content'] = 'home_content';
  $this->load->view('template', $data);
  
}

public function about(){

  $data['content'] = 'about_content';
  $this->load->view('template', $data);
  
}
  
public function contact(){

  $data['content'] = 'contact_content';
  $this->load->view('template', $data);
  
}

But i dislike the URL access -> myweb.com/site/home

¿Is it possible to access more directly? like 'web.com/home' instead of 'web.com/site/home'

Cheers.


Messages In This Thread
[solved]Backspace key problem while surfing (new noob inside). - by El Forum - 02-16-2012, 06:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB