[英]Typo3 Powermail - Customize Javascript
How to customize the Powermail javascript without the risk to overwrite it with the next update? 如何自定义Powermail javascript而不会有下次更新覆盖它的风险? To be specific: I would like to change the ajax function of Powermail Version 3.6.0. 具体来说:我想更改Powermail版本3.6.0的ajax功能。
Is there a possibility to move the javascript into my template extension like it is possible with typoscript? 是否有可能将javascript移动到我的模板扩展名中,就像有可能使用typoscript一样?
plugin.tx_powermail.view.templateRootPaths.10 = ...
Depending on which typoscript setup are you including from the powermail extension. 取决于您从powermail扩展程序中包含哪些typoscript设置。 For the standard one should be something like: page.includeJSFooter.powermailForm
对于标准,应该是: page.includeJSFooter.powermailForm
You can find non-minified versions of javascript you want to override in Resources/Private/JavaScripts folder. 您可以在Resources / Private / JavaScripts文件夹中找到要覆盖的非缩小版javascript。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.