doujie4787 2012-08-07 09:14
浏览 51
已采纳

在ELGG 1.8上搜索小部件的标题

I'm developing a social portal with ELGG 1.8 and I'm having some trouble with ELGG's default search engine.

What I want to do: I need widgets' titles to be included in the search engine process/result list and they aren't by default. I don't know how to enable it.

What I achieved: Now in search results widgets' descriptions are listed, but no titles yet.

Can someone suggest me something about how to solve this? I already read ELGG documentations from http://docs.elgg.org but I didn't find anything usefull.

  • 写回答

1条回答 默认 最新

  • dqqyp90576 2012-08-08 15:08
    关注

    Widgets are entites in Elgg. But they differ in such a way that they lack title and description. Your solution is to create a hook for the widget creation event and add title and description and add widget entities to search function. (it needs some major coding)

    I am not getting how you are searching widgets based on descriptions? The better place to ask these types of questions is Elgg community itself.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办
  • ¥15 vue2登录调用后端接口如何实现