Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Hi Guys,
Anyone had the problem using the component parsys in the Static Template?
I was creating static template but it isn't showing the edit option on the parsys component.
Show the screens bellow.
Anyone can I help me?
Alisson
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
If you are using static template in touch UI, then you'd need to follow the old approach of adding the components/component group via 'template design'.
HTH
Visualizações
respostas
Total de curtidas
I will look into this.
However - in AEM 6.4 - static templates no longer represent best practice. Adobe recommends Editable Templates -- Scott's Digital Community: Guided Journey for Experience Manager on Editable Templates
Visualizações
respostas
Total de curtidas
smacdonald2008 thank you.
I'll be waiting for your answer.
Visualizações
respostas
Total de curtidas
If you are using static template in touch UI, then you'd need to follow the old approach of adding the components/component group via 'template design'.
HTH
Visualizações
respostas
Total de curtidas
On 6.4 - i setup a little project where my parsys component was embedded into the script of the page - like this:
It works fine.
Visualizações
respostas
Total de curtidas
gauravb10066713 Do we need to do this always when I create the new page?
Visualizações
respostas
Total de curtidas
that is standard practice. Did it work for you?
Visualizações
respostas
Total de curtidas
ok smacdonald2008 but it isn’t working when I do in the main.html of the template.
Visualizações
respostas
Total de curtidas
Yes. It worked.
Visualizações
respostas
Total de curtidas
Hi,
It works for me as well.
What you need to do is simply test and include the parsys in the component JSP in the below way.
<html>
<%@include file="/libs/foundation/global.jsp" %>
<cq:include script="/libs/wcm/core/components/init/init.jsp"/>
<body>
<h1>Here is where your custom AEM Column component will go</h1>
<cq:include path="par" resourceType="foundation/components/parsys" />
</body>
</html>
It will work. It works for me. Below is the screenshots.
Hope this helps!!
Thanks,
Ratna Kumar.
Visualizações
respostas
Total de curtidas
Hi,
If you use HTL i.e, ex: main.html then it is not recommended to use static templates.
Please use Editable templates.
Thanks,
Ratna Kumar.
Visualizações
respostas
Total de curtidas
you don't need to do it again for any number of pages that you create from that template.
Visualizações
respostas
Total de curtidas
Awesome!
I’ll try do that and give you the Feedback.
thanks!
Visualizações
respostas
Total de curtidas
Thanks, gauravb10066713.
It worked!
Visualizações
respostas
Total de curtidas
Glad you got it working - this is the benefit of the AEM community!
Visualizações
respostas
Total de curtidas
Thanks, smacdonald2008 too!
You are always helping us.
Visualizações
respostas
Total de curtidas
smacdonald2008 I have AEM 6.4.6. While i understand that editable templates are the best option in 6.4.6, does it mean that "normal" are not supported any more? i come from a 6.3 background. I created a few templates under /apps/<project>/templates. I also created a few configurable templates. When i go to sites and do a "new page" i dont see the templates i created under the /apps/<project>/templates but only see the ones which i created as configurable templates. Any idea whats going on here?
Visualizações
respostas
Total de curtidas
Nothing to do with editable/static templates its issue with the allowedtemplate property on your content node likebelow-
You need add your apps folder path like below-
Visualizações
respostas
Total de curtidas
I realized that yesterday. Stupid me.
Visualizações
respostas
Total de curtidas
Just want to check if we can use touch UI component (sightly) component in static template page?
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas