我已按照下面提到的Youtube
链接创建了Personalization
。一旦我在geometrixx网站上创建了演示页面并放入了内容,我就没有看到在右键单击内容时定位内容的选项。请让我知道我该怎么做?
https://www.youtube.com/watch?v=HWXMAQcRmEU
仅供参考 - 我是AEM 6.1
另外,我已经按照下面提到的Adobe文档。在预告片制作部分,他们使用"预告片页面模板"创建新页面。但是我在当地没有看到那个模板。我可以看到" 体验模板"。请告诉我如何才能使用此模板。
https://docs.adobe.com/docs/en/aem/6-1/author/personalization/campaigns/teasers-and-strategies.html
答案 0 :(得分:1)
正如您所提到的,您正在使用AEM6.1,我假设您正在使用Sightly标记(而不是jsp)以及TouchUI接口而不是ClassicUI。如果不是,你应该是!! :)
在您的脑海中包括data-sly-include =“/ libs / cq / cloudserviceconfigs / components / servicelibs / servicelibs.jsp”以获取目标云服务配置。
在你的身体顶部的包括data-sly-resource =“$ {@ path ='clientcontext',resourceType ='cq / personalization / components / clientcontext'}”将目标模式添加到客户端上下文菜单
在关闭正文标记之前包含data-sly-resource =“$ {@ path ='cloudservices',resourceType ='cq / cloudserviceconfigs / components / servicecomponents'}”以关闭您的云服务配置
<html lang="en" data-sly-use.clientLib="${'/libs/granite/sightly/templates/clientlib.html'}">>
<head data-sly-use.head="head.js"
data-sly-use.headlibRenderer="headlibs.html"
data-sly-use.clientLib="${'/libs/granite/sightly/templates/clientlib.html'}">
<!-- your other client libs/css etc -->
<sly data-sly-include="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp" />
</head>
<body>
<sly data-sly-resource="${ @path='clientcontext', resourceType='cq/personalization/components/clientcontext'}" />
<!-- BODY CONTENTS -->
<sly data-sly-resource="${ @path='cloudservices', resourceType='cq/cloudserviceconfigs/components/servicecomponents'}" />
</body>
</html>
只是一个FYI .... teasers是旧术语(6.1之前)...使用体验模板。