AEM Template | Community
Skip to main content
Level 2
May 23, 2018
Solved

AEM Template

  • May 23, 2018
  • 4 replies
  • 964 views

To display image on one page and Video on other. Do we need one template or two templates for this requirement? Also, both pages will use same or different java scripts.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

You can drop an image on page 1 and video on page 2 with the page using the same template.

Are you using Editable Template - which is best practice in AEM 6.3/6.4? If so - make sure that the template uses both of these components in the layout container policy located on the editable template.

If you are not familiar with editbale template - see Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Templates .

4 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
May 23, 2018

You can drop an image on page 1 and video on page 2 with the page using the same template.

Are you using Editable Template - which is best practice in AEM 6.3/6.4? If so - make sure that the template uses both of these components in the layout container policy located on the editable template.

If you are not familiar with editbale template - see Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Templates .

smacdonald2008
Level 10
May 23, 2018

For example - see this image

Notice the components visible under the header. THis means an author is able to drop any of these components into the page that is based on this editable template. So make sure that the image and video components show up in the layout container.

smacdonald2008
Level 10
May 23, 2018

In the next week or so (early June 2018 ) - you will find a Guided Journey of using Editable Templates in the Experience League web site under AEM here: Experience League Intelligent Guidance | Adobe

Level 2
May 23, 2018

This helps, thanks smacdonald2008 !