Closed (fixed)
Project:
YUI DataTable
Version:
6.x-1.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2008 at 15:44 UTC
Updated:
24 Mar 2009 at 21:54 UTC
Hello, and thank you for creating this module!
I have enabled both the YUI module and this one, then changed a working call of theme('table', ...) to theme('yui_datatable_table', ...) but with the latter method no table appears.
Can you help me make this work?
Thank you!
Comments
Comment #1
jeffcd commentedCorrect: theme('yui_datatable', ...)
Not correct: theme('yui_datatable_table', ...)
Have fun!
I will try to start documenting my modules soon. It's much more fun to write new stuff... but I guess it's harder for people to use without docs.
Comment #2
ardee-1 commentedThanks Jeff!
Comment #3
jeffcd commentedComment #4
Tilt_11 commentedCan you be more specific and tell which file needs to be modified as mentioned above?
Thanks for your module! I'm sure it will help me a lot once I can use it!
Comment #5
kscheireryou've probably found a different solution by now, but what the previous post indicated that you need to call the theme function like theme('yui_datatable', ...), the original poster was using the wrong function name.
where would you do this? well, whereever you are trying to output data as a datatable, probably in template.php or in a more specific template file. But you don't need to modify any code in the module.
if you want to provide more detail, maybe I can give you a clearer answer.