如何更改Joomla 3中的系统调试位置?
我想调试一个“不断滚动”的页面,这样我就不能在页面底部进行调试 我试着添加如何更改Joomla 3中的系统调试位置?,joomla,joomla3.0,joomla3.2,Joomla,Joomla3.0,Joomla3.2,我想调试一个“不断滚动”的页面,这样我就不能在页面底部进行调试 我试着添加 <jdoc:include type="modules" name="debug" style="xhtml"/> 但这似乎没有什么帮助。基本上,我认为您需要编写自己的调试插件并更改_destruct方法。正如您所注意到的,它不再使用模块位置(不要问我为什么),相反,您看到的是u析构函数的结尾 echo str_replace('</body>', implode('', $html) .
<jdoc:include type="modules" name="debug" style="xhtml"/>
但这似乎没有什么帮助。基本上,我认为您需要编写自己的调试插件并更改_destruct方法。正如您所注意到的,它不再使用模块位置(不要问我为什么),相反,您看到的是u析构函数的结尾
echo str_replace('</body>', implode('', $html) . '</body>', $contents);
echo str_替换(“”,内爆(“”,$html)。“”,$contents);
也就是说,它总是将它放在正文的末尾。我找到了一种快速(而且不干净)的方法,通过将此脚本放在模板中,将调试移到另一个元素(id=“container”
)中:
;jQuery(document).ready(function($){
$('#system-debug')
.css({marginBottom:80}) /* custom style */
.appendTo('#container') /* target element */
;
});
…就我而言,也设定了一些底线