开发者

the navigation content's title generated by drupal book module

the book navigation block content's tit开发者_如何学Gole generated by drupal book module which is not have the title tip and the title is too long. how to trim it. and how to overwrite this specific block.


As I see it, you have two options:

1) edit book_block() in modules/book/book.module and change the title hardcoded.

2) use yourtheme_preprocess_block() to hook on the block's preprocess (in template.php of your theme) and check for the block's module and delta, and change the title there.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜