is it possible to override a sightly template? | Community
Skip to main content
Level 8
October 16, 2015
Solved

is it possible to override a sightly template?

  • October 16, 2015
  • 1 reply
  • 516 views

Is it possible to override a sightly template?  

For example, if under /apps/myApp/components/carousel I have "slideTemplate.html" and then i have another component under /apps/myApp/components/another-carousel whose resourceSuperType is the original carousel, I would like to be able to specify a file with the same name (slideTemplate.html) but a give it a different HTML markup.  In my testing I haven't been able to make it work so I'm wondering if I am doing something incorrectly or if it's not supported.

Thanks in advance.

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 Feike_Visser1

This works the same as with the JSP-approach.

Please share you code example that isn't working.

1 reply

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

This works the same as with the JSP-approach.

Please share you code example that isn't working.