Static Template on the ADOBE AEM 6.4

alissonxavier27

23-01-2019

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.

2019-01-23_11-11-45.jpg

1674561_pastedImage_1.png

1674562_pastedImage_2.png

Anyone can I help me?

Alisson

Accepted Solutions (1)

Accepted Solutions (1)

Gaurav-Behl

MVP

23-01-2019

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'.

  1. Click on the dropdown/caret next to EDIT button, choose 'Design'
  2. Navigate to your parsys component
  3. Add the specific components/groups to that parsys component
  4. Change the mode back to EDIT
  5. Click on the parsys component and you should see '+' sign to add the component(s) to the parsys

HTH

Answers (17)

Answers (17)

Ankur_Khare

MVP

08-12-2019

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-

1862658_pastedImage_0.png

Aryan12345

08-12-2019

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?

Ratna_Kumar

MVP

23-01-2019

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.

Ratna_Kumar

MVP

23-01-2019

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.

1674713_pastedImage_1.png

1674714_pastedImage_2.png

Hope this helps!!

Thanks,

Ratna Kumar.