Custom Configuration File For Application |
[eluser]carvingCode[/eluser]
I was hoping to reduce the 7 pagination config statements to one. I'm using the settings in multiple methods.
[eluser]cahva[/eluser]
So whats the problem? BTW, you can use the shorter version of getting config item: Code: config_item('first_tag_open'); Maybe we can give some advice if we can see code how you are using those config items now..
[eluser]carvingCode[/eluser]
The statements for part of the settings of the Pagination library. Instead of including them, as listed below, I thought I could place them in a app config file and just call an array. Is this where a 'hook' may come in handy? Code: $config['first_tag_open'] = ' | ';
[eluser]danmontgomery[/eluser]
http://ellislab.com/codeigniter/user-gui...ation.html Quote:Setting preferences in a config file
[eluser]carvingCode[/eluser]
Zowie! I was all over that page in the docs earlier in the week. Missed this. Thanks! Edit: All is working great. |
Welcome Guest, Not a member yet? Register Sign In |