HTML Table library, way to autoconfig? |
[eluser]Jazmo[/eluser]
I use same template between tables in my site, so every time i create table (in different Controllers) i need to specify the template. Is there a some way to do that in config/table.php ? If there is, can you give me an example and update User Guide accordingly. I think this is essential information. If there's no way to use autoconfiguration, maybe some other way, any suggestions?
[eluser]GSV Sleeper Service[/eluser]
you could 'extend' the table library (http://ellislab.com/codeigniter/user-gui...aries.html) and add your default template to a new method within that class.
[eluser]NBrepresent[/eluser]
To get around this same issue I simply copied Table.php from /system/libraries to /system/application/libraries and then modified the default template (starts at line 411).
|
Welcome Guest, Not a member yet? Register Sign In |