Compilation of problems and solutions that I've encountered that might help others |
[eluser]rei[/eluser]
Hi, I just want to share this for the sake of others that might encounter the problems I've encountered in using CodeIgniter Framework: Scenario: Pagination is working fine when using offset number 3 but not working when using offset number 4,5 and so on... Solution: Just add $config['uri_segment'] = 4; /* uri segment number that you want to use */ before initializing. Example: Code: $this->load->library('pagination'); This are the list of config variables that you can override: Code: var $base_url = ''; // The page we are linking to I think you could also override defaults in other libraries. Just open the source code of the library and you will see the variables that you can override when initializing. ----------------------------------------------------------------------------------------------------- Scenario: Ion Auth Library dont work well when using HMVC Modular Extensions Solution: http://ellislab.com/forums/viewthread/145263/P1140 look for post # 1145 by EC ------------------------------------------------------------------------------------------------------- Scenario: Session data being lost after redirecting to other pages Solution: download a native php session library for CI. https://github.com/staskus/codeigniter-2...ve-session Just paste in inside application/libraries and your session problem will gone
[eluser]PhilTem[/eluser]
Thanks for your collection of problems. But could you please wrap your code between [ code ] and [ /code ] tags? (without the spaces)
|
Welcome Guest, Not a member yet? Register Sign In |