Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

is it possible to override a sightly template?

Avatar

Level 8

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

This works the same as with the JSP-approach.

Please share you code example that isn't working.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

This works the same as with the JSP-approach.

Please share you code example that isn't working.