Pagination on a subdomain |
[eluser]Shella[/eluser]
Hi, I followed tutorial for pagination in an old post undo Nettuts (Day 7) and the tutorial run to me too. I tried to use the pagination in a project i'm doing then and here I got a surprise. Actually when I click on the number page to reach (let's say 2) the link I will call is: http://sub.domain.com/blog/20 and I return "Page not found"! I'm a bit shocked. Probably I misanderstood some step so... here the code. I hope somebody can help me to understand what's wrong. I tried to change different value on $this->uri->segment(2) with 1, 3... 4.. (just because seem "trendy" solve with that heh ) My doubt is when i declare $config['base_url'] but actually nidea. I got "page not found". I guess is senseless if the pagination library is loaded... Controller: Code: public function index() View Code: [...] Thanks everybody! |
Messages In This Thread |
Pagination on a subdomain - by El Forum - 07-14-2012, 05:23 AM
|