【发布时间】:2020-07-28 12:30:49
【问题描述】:
根据documentation,营销标签应在相关页面上呈现内容。
这是我目前尝试做的事情
在 unsubscribe-form.yaml 中
title: unsubscribe-form
renderType: freemarker
visible: true
templateScript: /main/templates/pages/unsubscribe-form.ftl
areas:
header: # experimental
headerScripts:
type: noComponent
在 unsubscribe-form.ftl 中
...
<head>
[@cms.area name="headerScripts" /]
</head>
<body>
...
</body>
在标签属性对话框中
当页面呈现时,我在标题中既看不到弹出窗口也看不到元标记。 在服务器控制台中,我也没有看到任何异常。 有什么问题?
PS。我还通过在配置中删除模块的版本并重新部署应用程序来确保在 magnolia 中重新加载 FTL 模板。
【问题讨论】:
标签: magnolia