开发者

Drupal, searching dynamically created pages

My drupal site contains a page where product details are generated from t开发者_如何学Gohe database based on product id. One requirement is that product details be searchable. The Drupal search indexes the static pages. How can I index the details generated in the dynamic pages.

edit1: I am using php filter to generate the page. Ex drupalurl/products/id1, drupalurl/products/id2, drupalurl/products/id3 all will pull different content from the db.


hook_update_index - might be the solution to your problem. You will need to "render" your dynamic fields and send them to the indexer using this hook.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜