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

    1. <legend id='jh8vn'><style id='jh8vn'><dir id='jh8vn'><q id='jh8vn'></q></dir></style></legend>

      1. <small id='jh8vn'></small><noframes id='jh8vn'>

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

        覆盖 Joomla 组件模板

        Override Joomla Component Template(覆盖 Joomla 组件模板)
          <tbody id='ts74V'></tbody>
        • <bdo id='ts74V'></bdo><ul id='ts74V'></ul>
            <tfoot id='ts74V'></tfoot>

              • <legend id='ts74V'><style id='ts74V'><dir id='ts74V'><q id='ts74V'></q></dir></style></legend>

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

                1. <i id='ts74V'><tr id='ts74V'><dt id='ts74V'><q id='ts74V'><span id='ts74V'><b id='ts74V'><form id='ts74V'><ins id='ts74V'></ins><ul id='ts74V'></ul><sub id='ts74V'></sub></form><legend id='ts74V'></legend><bdo id='ts74V'><pre id='ts74V'><center id='ts74V'></center></pre></bdo></b><th id='ts74V'></th></span></q></dt></tr></i><div id='ts74V'><tfoot id='ts74V'></tfoot><dl id='ts74V'><fieldset id='ts74V'></fieldset></dl></div>
                  本文介绍了覆盖 Joomla 组件模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用此 URL 访问组件的原始 HTML:

                  I am using this URL to access the raw HTML of a component:

                  /index.php?option=com_downloadform&tmpl=component
                  

                  但是它也返回文档类型、标题标签、标题标签等.

                  However it also returns the document type, title tags, head tags etc.

                  有没有办法只返回之间的内容?

                  Is there a way to return only the content between <body> and </body>?

                  谢谢,

                  伊恩

                  推荐答案

                  在您的模板文件夹中,创建一个文件(例如 raw.php)并且仅在该文件中放置:

                  Inside your template folder, create a file (e.g. raw.php) and inside that file place only:

                  <jdoc:include type="component" />
                  

                  然后,您可以使用 /index.php?option=com_downloadform&tmpl=raw 访问组件的原始输出.链接中的 tmpl 参数必须是不带扩展名的文件名.

                  Then, you can use /index.php?option=com_downloadform&tmpl=raw to access the raw output of the component. The tmpl parameter in your link must be the name of the file without the extension.

                  这篇关于覆盖 Joomla 组件模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Is Joomla 2.5 much faster than Joomla 1.5 Querywise(Joomla 2.5 比 Joomla 1.5 Querywise 快得多吗)
                  How to share Joomla login session from one joomla website to one ASP.Net MVC website(如何将 Joomla 登录会话从一个 joomla 网站共享到一个 ASP.Net MVC 网站)
                  htaccess redirect root to subdirectory but allow index.php in root AND query strings to function(htaccess 将根重定向到子目录,但允许根和查询字符串中的 index.php 起作用)
                  Joomla include database functions(Joomla 包含数据库功能)
                  nl2br() not working when displaying SQL results(显示 SQL 结果时 nl2br() 不起作用)
                  Joomla 2.5 JFactory::getSession(); seems to be caching in firefox(Joomla 2.5 JFactory::getSession();似乎在 Firefox 中缓存)
                  • <small id='DhE2v'></small><noframes id='DhE2v'>

                  • <legend id='DhE2v'><style id='DhE2v'><dir id='DhE2v'><q id='DhE2v'></q></dir></style></legend>

                        <tfoot id='DhE2v'></tfoot>

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