1

In a previous Sharepoint set-up a created a sub site /search and copied my custom display template in the folder:

/_catalogs/masterpage/Display%20Templates/Search

enter image description here

The folder contains HTML and javascript files.

In my new set-up I created a separate site collection for search. The Display template folder now shows only javascript files without HTML files. When I copy my HTML template in this folder it is not converted to javascript.

enter image description here

How to activate my custom search display template in my new setup?

1 Answer 1

0

You have to activate the Publishing feature on site parameters.

Edit : After lurking, it seems that only the Publishing Infrastructure (site collection parameters) is required to display the HTML file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.