Open jeremybmerrill opened 8 years ago
we should also allow setting template names by page type
'jeb-bush-emails': {
list_view: 'email',
detail_view: 'email',
search_view: 'jeb-email',
query_builder: 'jeb-email'
}
if you wanted only one or two templates to be special and use existing ones for others.
now that this is set thru google spreadsheets, solving it will be a little different, maybe a third Spreadsheet sheet that overrides the data_type column in the first sheet (and that joins on index_name like the sample searches one does).
Create a method for a search engine to use, for instance, the
blob
template for each template, but a custom one, say,my_search
for thesearch_form
. (Right now, you'd have to create a customsearch_form/my_search.template
,query_builder/my_search.js
,detail_view/my_search.template
, andlist_view/my_search.template
even if you only wanted to customize one.)