gpt4 book ai didi

jquery - 为什么 powermail 安装扩展后立即包含 css 和 jquery?

转载 作者:行者123 更新时间:2023-12-01 07:15:55 24 4
gpt4 key购买 nike

在 TYPO3 4.7 后端下载并安装 Powermail (2.0.9) 扩展后,文件立即加载到我的网站 (www.africanfootprints.de) 上。

甚至在将 Powermail 添加到静态模板之前就会发生这种情况。

头部的这些CSS:

typo3conf/ext/powermail/Resources/Public/Css/CssFancy.css
typo3conf/ext/powermail/Resources/Public/Css/jquery.ui.theme.css
typo3conf/ext/powermail/Resources/Public/Css/jquery.ui.datepicker.css

正文末尾的这些js:

typo3conf/ext/powermail/Resources/Public/Js/jquery.ui.datepicker.min.js
typo3conf/ext/powermail/Resources/Public/Js/jquery.validationEngine-en.js
typo3conf/ext/powermail/Resources/Public/Js/jquery.validationEngine.js
typo3conf/ext/powermail/Resources/Public/Js/tabs.js
typo3conf/ext/powermail/Resources/Public/Js/powermail_frontend.js
typo3conf/ext/powermail/Resources/Public/Js/form.js

由于我只想将整个 Powermail 扩展加载到联系页面上,因此我不想禁用此功能。

最佳答案

使用 Typoscript 禁用 CSS 和 JS:

page {
# Inlude JavaScript files
includeJSFooterlibs {
powermailJQuery =
powermailJQueryUi =
powermailJQueryUiDatepicker =
powermailJQueryFormValidationLanguage =
powermailJQueryFormValidation =
powermailJQueryTabs =
}
includeJSFooter {
powermailForm =
}

# Include CSS files
includeCSS {
powermailJQueryUiTheme =
powermailJQueryUiDatepicker =
}

}

有关 Typosrcipt 的更多可能性,请参阅:

typo3conf/ext/powermail/Configuration/TypoScript/Main/setup.txt

关于jquery - 为什么 powermail 安装扩展后立即包含 css 和 jquery?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18920038/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com