You are here

search-app.html.twig in Search API Federated Solr 4.x

{% set app_config = federated_search_app_config|json_encode(constant('JSON_UNESCAPED_SLASHES'), constant('JSON_NUMERIC_CHECK')) %}

<noscript>This search page requires Javascript in order to function.  <a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/auto">Learn how to enable Javascript in your browser</a>.</noscript>
<div id="fs-root"
  data-federated-search-app-config="{{ app_config }}">
  <p class="fs-element-invisible" aria-hidden="true">Federated Solr Search App: If you see this message in your DevTools, it likely means there is an issue adding the app javascript library to this page.  Follow the steps in the search_api_federated_solr module README.</p>
</div>

File

templates/search-app.html.twig
View source
  1. {% set app_config = federated_search_app_config|json_encode(constant('JSON_UNESCAPED_SLASHES'), constant('JSON_NUMERIC_CHECK')) %}
  2. <noscript>This search page requires Javascript in order to function. <a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/auto">Learn how to enable Javascript in your browser</a>.</noscript>
  3. <div id="fs-root"
  4. data-federated-search-app-config="{{ app_config }}">
  5. <p class="fs-element-invisible" aria-hidden="true">Federated Solr Search App: If you see this message in your DevTools, it likely means there is an issue adding the app javascript library to this page. Follow the steps in the search_api_federated_solr module README.</p>
  6. </div>