drupal
文章平均质量分 67
pengbihao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
drupal t() function
<br />The wrong way:<br />drupal_set_message(t(“You just created the post: “. $node->title));<br /> The right way:<br />drupal_set_message(t(“You just created the post: @title “, array(’@title’ => $node->title)));<br /> t()<br /> The t function tak原创 2011-01-13 13:29:00 · 583 阅读 · 0 评论 -
Drupal search module
<br />要使用drupalsearch,首页要到后台模块管理开启search模块,然后重建索引,运行cron 。<br />这样就可以使用了 。search 重建索引大概只涉及到core表 。比如 node title node body。<br />如果想搜索cck等额外的内容,可以借用其他模块 。比如faceted_search , field_indexer, cck_facets等模块结合 。但是往往依靠模块可能不是很灵活 。这是可以自己根据drupal search 提供原创 2011-01-13 13:30:00 · 816 阅读 · 0 评论
分享