dppn67180 2012-09-19 14:21
浏览 48
已采纳

如何为apache solr模块构建我自己的视图[关闭]

After successful integration of apache solr module in drupal 7 and displaying the result Ii found that it is using the view files (search-results.tpl.php & search-result.tpl.php) from the core search module to display the result.

How can I use my custom files similar to (search-results.tpl.php & search-result.tpl.php) inside the apache solr module folder to display the result?

Since I am new to drupal and just started can somebody guide me to implement it.

  • 写回答

1条回答 默认 最新

  • duanpu5048 2012-09-24 09:27
    关注

    The .tpl.php files are theme template files, and you can override them by using identically named files in your own theme. Some deeper reading at Drupal docs.

    Or you could use the search features provided by Google, as I did, and find an already existing answer on a related site.

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

报告相同问题?

悬赏问题

  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错
  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效