开发者

Drupal How to add the dropdown in the search box

by default we have drupal search box,

i want to add one dro开发者_运维知识库pdown , that should contain the content types(like page,story,article)

i know there is a lot of modules, but i want to know, using hook module, i want to add the

dropdown,

i want to do it with only hook methodm


Try providing a preprocess for the search form function in your theme's template.php file. There's a nice example of it here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜