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

jeffcd’s picture

Correct: 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.

ardee-1’s picture

Thanks Jeff!

jeffcd’s picture

Status: Active » Closed (fixed)
Tilt_11’s picture

Can 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!

kscheirer’s picture

you'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.