Adding content created by custom module to drupal search index

狂风中的少年 提交于 2020-01-04 14:12:09

问题


I have developed a module to create content for my site without using CCK. The data will be saved in different tables other than the default tables of Drupal. My requirement is, how can i make Drupal to index the content created by my custom module?


回答1:


You will have to implement hook_search in your module that indexes your custom content.



来源:https://stackoverflow.com/questions/4816851/adding-content-created-by-custom-module-to-drupal-search-index

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!