This is probably simple, but still worth asking because I just can’t figure it out. I have an index.php view which is loaded from controller via the main function call. Now when am on that site there are links to other views. How do I customize the href of those links? Example one of the is to list all items (and there is a function in controller responsible for that and a view where they are loaded) but how can I invoke that when I click on link “List All”?
Thanks,
The default routing in CodeIgniter is
/index.php/controller/action/wherecontrolleris the name of the controller you want to address andactionthe method (action) you want to invoke on that controller.More information about routing in CI can be found here: http://codeigniter.com/user_guide/general/routing.html .