mention {% ckan_extends %} in spatial search widget docs

This commit is contained in:
Maik Riechert 2015-10-18 00:27:36 +01:00
parent 33876d922a
commit 07ba392c93
1 changed files with 5 additions and 3 deletions

View File

@ -156,9 +156,11 @@ Spatial Search Widget
The extension provides a snippet to add a map widget to the search form, which
allows filtering results by an area of interest.
To add the map widget to the to the sidebar of the search page, add this to the
dataset search page template
(``myproj/ckanext/myproj/templates/package/search.html``)::
To add the map widget to the sidebar of the search page, add the following
block to the dataset search page template
(``myproj/ckanext/myproj/templates/package/search.html``). If your custom
theme is simply extending the CKAN default theme, you will need to add ``{% ckan_extends %}``
to the start of your custom search.html, then continue with this::
{% block secondary_content %}