不幸的是,必须将其编码到插件中,以便删除代码。当插件不替换其本身时,没有默认的 Joomla 方法可以从插件中删除内容中尚未处理的代码。这就是为什么我的插件不使用 { 括号,而是发明 XML 标签,如果插件被禁用,所有 RSS 阅读器和浏览器都会忽略这些标签。
Unfortunately that has to be coded into the plugin so that the code is removed. There is no default Joomla method to remove code from plugins that has not been processed in the content when the plugin does not replace it itself. Which is why I don't use the {-brackets for my plugins, but instead invent XML-tags, which are ignored by all RSS readers and browsers if the plugin is disabled.
发布评论
评论(1)
不幸的是,必须将其编码到插件中,以便删除代码。当插件不替换其本身时,没有默认的 Joomla 方法可以从插件中删除内容中尚未处理的代码。这就是为什么我的插件不使用 { 括号,而是发明 XML 标签,如果插件被禁用,所有 RSS 阅读器和浏览器都会忽略这些标签。
Unfortunately that has to be coded into the plugin so that the code is removed. There is no default Joomla method to remove code from plugins that has not been processed in the content when the plugin does not replace it itself. Which is why I don't use the {-brackets for my plugins, but instead invent XML-tags, which are ignored by all RSS readers and browsers if the plugin is disabled.