开发者

Drupal How to add the dropdown in the search box

开发者 https://www.devze.com 2023-02-17 18:43 出处:网络
by default we have drupal search box, i want to add one dro开发者_运维知识库pdown , that should contain the content types(like page,story,article)

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

精彩评论

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