<i id='QrxYO'><tr id='QrxYO'><dt id='QrxYO'><q id='QrxYO'><span id='QrxYO'><b id='QrxYO'><form id='QrxYO'><ins id='QrxYO'></ins><ul id='QrxYO'></ul><sub id='QrxYO'></sub></form><legend id='QrxYO'></legend><bdo id='QrxYO'><pre id='QrxYO'><center id='QrxYO'></center></pre></bdo></b><th id='QrxYO'></th></span></q></dt></tr></i><div id='QrxYO'><tfoot id='QrxYO'></tfoot><dl id='QrxYO'><fieldset id='QrxYO'></fieldset></dl></div>
        <legend id='QrxYO'><style id='QrxYO'><dir id='QrxYO'><q id='QrxYO'></q></dir></style></legend>
        <tfoot id='QrxYO'></tfoot>
      1. <small id='QrxYO'></small><noframes id='QrxYO'>

          <bdo id='QrxYO'></bdo><ul id='QrxYO'></ul>

        从搜索中隐藏 Drupal 节点

        Hide Drupal nodes from search(从搜索中隐藏 Drupal 节点)

              <bdo id='NqqDF'></bdo><ul id='NqqDF'></ul>
            • <legend id='NqqDF'><style id='NqqDF'><dir id='NqqDF'><q id='NqqDF'></q></dir></style></legend>

                  <tbody id='NqqDF'></tbody>
              1. <small id='NqqDF'></small><noframes id='NqqDF'>

                <i id='NqqDF'><tr id='NqqDF'><dt id='NqqDF'><q id='NqqDF'><span id='NqqDF'><b id='NqqDF'><form id='NqqDF'><ins id='NqqDF'></ins><ul id='NqqDF'></ul><sub id='NqqDF'></sub></form><legend id='NqqDF'></legend><bdo id='NqqDF'><pre id='NqqDF'><center id='NqqDF'></center></pre></bdo></b><th id='NqqDF'></th></span></q></dt></tr></i><div id='NqqDF'><tfoot id='NqqDF'></tfoot><dl id='NqqDF'><fieldset id='NqqDF'></fieldset></dl></div>
                • <tfoot id='NqqDF'></tfoot>
                • 本文介绍了从搜索中隐藏 Drupal 节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我通过编写一个模块来检查该部分的 RERQUEST_URI 以及用户角色,从而在 drupal 站点上创建了一个私有部分.我现在遇到的问题是如何防止这些节点/视图出现在搜索中.

                  I made a private section on a drupal site by writing a module that checks the RERQUEST_URI for the section as well as user role. The issue I am running into now is how to prevent those nodes/views from appearing in the search.

                  私有部分中使用的内容类型在网站的其他地方使用.

                  The content types used in the private section are used in other places in the site.

                  让 Druapl 搜索忽略内容/不索引/不在搜索结果中显示它的最佳方法是什么?

                  What's the best way to get Druapl search to ignore the content/not index/not display it in search results?

                  推荐答案

                  摇篮机器人 网站.

                  这篇文章的评论也值得一读,因为那里的人建议了其他方法来做到这一点,也是通过 contrib 模块(而不是在您自己的代码中实现一些钩子).D6 的代码也在注释中.

                  It's worth reading the comments to the post too, because people there suggested alternate ways of doing that, also by mean of contrib modules (rather than implementing some hooks in your own code). Code for D6 is in the comment as well.

                  HTH!

                  这篇关于从搜索中隐藏 Drupal 节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                • <legend id='XQbQl'><style id='XQbQl'><dir id='XQbQl'><q id='XQbQl'></q></dir></style></legend>

                  <i id='XQbQl'><tr id='XQbQl'><dt id='XQbQl'><q id='XQbQl'><span id='XQbQl'><b id='XQbQl'><form id='XQbQl'><ins id='XQbQl'></ins><ul id='XQbQl'></ul><sub id='XQbQl'></sub></form><legend id='XQbQl'></legend><bdo id='XQbQl'><pre id='XQbQl'><center id='XQbQl'></center></pre></bdo></b><th id='XQbQl'></th></span></q></dt></tr></i><div id='XQbQl'><tfoot id='XQbQl'></tfoot><dl id='XQbQl'><fieldset id='XQbQl'></fieldset></dl></div>
                    <tbody id='XQbQl'></tbody>

                    • <bdo id='XQbQl'></bdo><ul id='XQbQl'></ul>

                      <small id='XQbQl'></small><noframes id='XQbQl'>

                        1. <tfoot id='XQbQl'></tfoot>