组件中的 Joomla 不包含 jdoc 中的 mootools: type=head

发布于 2024-12-17 17:29:32 字数 86 浏览 1 评论 0原文

我的 joomla 搜索组件有问题。当我显示组件时,头部没有包含 mootools,就像在标准页面上一样。 请问在哪个文件中定义了 jhead 中渲染的内容?

I have problem with joomla's search component. When I display the component, there are no mootools included in the head, like on standard pages..
Please in which file is defined what is rendered in jhead?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拿命拼未来 2024-12-24 17:29:32

在 Joomla 1.5 中,您可以使用这行代码来包含 mootools 库:

JHTML::_('behavior.mootools');

您可以在模板的 index.php 文件(mootools 将在每个页面上加载)或搜索组件视图中使用此行。

In Joomla 1.5 you can use this line of code to include the mootools library:

JHTML::_('behavior.mootools');

You can use this line in your template's index.php file (mootools will be loaded on every page), or in the search component view.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文