开发者

Drupal theme function for menu_block not being called

开发者 https://www.devze.com 2023-02-14 14:05 出处:网络
I am using menu_block with D7. I read the readme (or: http://drupal.org/node/748022) but when I define a function kw_menu_item_link__menu_block__6() in my template.php, it is not being called.

I am using menu_block with D7. I read the readme (or: http://drupal.org/node/748022) but when I define a function kw_menu_item_link__menu_block__6() in my template.php, it is not being called.

Does anyone have an idea why?开发者_如何学编程

Update: clearing the cache does not solve the problem.


If it's a new template.php file, try clearing the theme cache, to force the theme system read the new file.

Update: Try using the Theme Developer module to double check that you have the function named correctly.

0

精彩评论

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

关注公众号