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

    1. <tfoot id='9rRc3'></tfoot>
        • <bdo id='9rRc3'></bdo><ul id='9rRc3'></ul>

        <legend id='9rRc3'><style id='9rRc3'><dir id='9rRc3'><q id='9rRc3'></q></dir></style></legend>

        <small id='9rRc3'></small><noframes id='9rRc3'>

      1. Joomla 3.X - 从标题中删除工具提示脚本?

        Joomla 3.X - Remove tooltip script from header?(Joomla 3.X - 从标题中删除工具提示脚本?)
        <i id='B9XkD'><tr id='B9XkD'><dt id='B9XkD'><q id='B9XkD'><span id='B9XkD'><b id='B9XkD'><form id='B9XkD'><ins id='B9XkD'></ins><ul id='B9XkD'></ul><sub id='B9XkD'></sub></form><legend id='B9XkD'></legend><bdo id='B9XkD'><pre id='B9XkD'><center id='B9XkD'></center></pre></bdo></b><th id='B9XkD'></th></span></q></dt></tr></i><div id='B9XkD'><tfoot id='B9XkD'></tfoot><dl id='B9XkD'><fieldset id='B9XkD'></fieldset></dl></div>

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

        <tfoot id='B9XkD'></tfoot>
        <legend id='B9XkD'><style id='B9XkD'><dir id='B9XkD'><q id='B9XkD'></q></dir></style></legend>

              <tbody id='B9XkD'></tbody>

                  <bdo id='B9XkD'></bdo><ul id='B9XkD'></ul>
                • 本文介绍了Joomla 3.X - 从标题中删除工具提示脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试从我的自定义 joomla 模板标题中删除不需要的脚本,我已经设法删除了除此之外的所有内容:

                  I'm trying to remove unwanted scripts from my custom joomla template header, which I've managed to remove everything except for this:

                  <script type="text/javascript">
                  jQuery(document).ready(function()
                                  {
                                      jQuery('.hasTooltip').tooltip({});
                                  });
                    </script>
                  

                  我已经搜索了几个小时并尝试了很多方法来将其删除,但我似乎无法摆脱它.这是我为删除我不想要的其他脚本所做的工作(对于遇到此问题的其他任何人):

                  I've searched for hours and I've tried numerous things to get it removed, but I can't seem to get rid of it. Here's what I've done to remove the other scripts I don't want (for anyone else who has this issue):

                  # unset frameworks
                  JHtml::_('bootstrap.framework',false);
                  JHtml::_('jquery.framework',false);
                  
                  # unset scripts
                  unset($doc->_scripts[$this->baseurl.'/media/jui/js/jquery.min.js']);
                  unset($doc->_scripts[$this->baseurl.'/media/jui/js/jquery-noconflict.js']);
                  unset($doc->_scripts[$this->baseurl.'/media/jui/js/bootstrap.min.js']);
                  

                  如果有人能帮我删除那个工具提示 javascript,那就太棒了.哦,我不想触及核心文件,所以我试图从模板 index.php 文件本身中删除它.

                  If someone could help me remove that tooltip javascript, that would be fantastic. Oh and I don't want to touch the core files, so I'm trying to remove it from the template index.php file itself.

                  推荐答案

                  某些组件/模块/插件正在调用函数 JHTML::_('behavior.tooltip').然后该函数添加您的代码.

                  Some component/Module/Plugin is calling the function JHTML::_('behavior.tooltip'). and that function add your code.

                  你可以:

                  肮脏的方法:转到librariescmshtmlootstrap.php 并在方法tooltip() 处更改文件.但请记住这是一个核心文件,因此升级可以覆盖您的更改.

                  The dirty way: go to librariescmshtmlootstrap.php and change the file at the method tooltip(). but remember it's a core file so upgrade can overide your changes.

                  干净的方法,找到添加此代码的组件并删除或更改它.

                  The clean way, find the component that adds this code and remove or change it.

                  祝你好运

                  这篇关于Joomla 3.X - 从标题中删除工具提示脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
                  Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                  PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                  How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                  get a # from a url in php(从 php 中的 url 获取 #)
                  PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)

                      <tbody id='q8ceu'></tbody>
                      • <legend id='q8ceu'><style id='q8ceu'><dir id='q8ceu'><q id='q8ceu'></q></dir></style></legend>

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

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