• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to this url rewriting and loading other controllers?

#4
[eluser]inet411[/eluser]
If anyone has any ideas/suggestions please help.

So I was also thinking ... I know that if there is one segment I want to load the category.php controller but if there are two segments I know I want to load the page.php controller.

If what I've asked in my first post is not possible... Do you think I could make something like a MY_Router class and check the number of segments in the url and then route to one or the other controller based on that? If so (I apologize for asking but I'm at my wits end here) could you post a small snippet to get me started?


Messages In This Thread
Best way to this url rewriting and loading other controllers? - by El Forum - 01-07-2010, 10:11 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.