Can't find default simple.ftl

Hi,

I have a version of simple.ftl that has been played with a lot by a previous dev on my team. I’m trying to roll this back to the basic simple.ftl template but can’t find a version of this anywhere - I presume I’m looking in the wrong place.

I’d like to roll back to the basic version so that I can use that as a starting point in re-designing our search results.

Many thanks,
Dan

Hi Dan,

If you have backend access you can copy the file from $SEARCH_HOME/conf/simple.ftl.dist

If you don’t have backend access the easiest way might be to create a new collection (which will get the default template) then copy the code from there before deleting the new collection (be careful to delete the correct collection though as there’s no going back if you delete the wrong one).

Thanks for the quick reply.

Unfortunately I don’t seem to have access to do either of those things.

If it was edited via the administration interface you might be able to retrieve it from an old backup (you’ll see lots of simple..ftl files in the file manager (available from the browse collection configuration settings option on the administer tab). Otherwise what version are you running - I might be able to post a copy of the default template from that version if I have the same one here.

It looks like it might have been, however the earliest version I can see is still modified.

I’m running 15.10.0 - if you have a copy I could use that would be great!

@plevan - did you have any luck finding a copy of the default template?

Hi,

I didn’t see your previous reply sorry.

Here’s the 15.10 default template:
simple_15.10.ftl (48.4 KB)

cheers,
Peter

1 Like