开发者

How to override Drupal's default theme_table() function?

How do I override the theme_table() function of the Drupal core in my theme? I j开发者_如何学Pythonust wrote another function named theme_table() in my template.php file, but the default theme_table() is still in effect.


It sounds like your template.php file isn't being read, because having two functions with the same name should trigger an error. Try renaming your theme_table() function to THEMENAME_table() (where THEMENAME is the name of your theme) or to phptemplate_table().

If that still doesn't work, try clearing your theme cache.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜