Welcome Guest, Not a member yet? Register   Sign In
HTML Table library, way to autoconfig?
#1

[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?
#2

[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.
#3

[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).
#4

[eluser]kesty[/eluser]
hmmmmmmmm




Theme © iAndrew 2016 - Forum software by © MyBB