Hello,
The simplesearch plugin is not working for me, the search box is damaged.
I copied an entire GRAV website and changed logo, colors, and products/service pages, contact, about. The second web site is the same x-corporation skeleton, same inherited theme with same name, only minor changes in the custom.css files an in the md pages.
-
In the original site, the Simplesearch plugin is working fine.
-
On the copied website is not, please see the attached screen captures.
I double checked all simplesearch templates files, they are the same in both websites.
user/plugin/simplesearch
simplesearch.yaml > Identical
simplesearch.php > Identical
languages.yaml > Identical
simplesearch/templates
simplesearch_results.html.twig > Identical
simplesearch_results.json.twig > Identical
simplesearch/templates/partials/
base.html.twig > Identical
simplesearch_item.html.twig > Identical
simplesearch_searchbox.html.twig > Identical
2.1 In simplesearch/languages.yaml PLUGIN_SIMPLESEARCH.SEARCH_PLACEHOLDER is there for spanish, identical on both websites:
es:
PLUGIN_SIMPLESEARCH:
SEARCH_PLACEHOLDER: "Buscar …"
SEARCH_RESULTS: "Resultados de la búsqueda"
SEARCH_RESULTS_SUMMARY_SINGULAR: "Consulta: <strong>%s</strong> se encontró 1 resultado"
SEARCH_RESULTS_SUMMARY_PLURAL: "Consulta: <strong>%s</strong> se encontraron %s resultados"
- With the browser inspector I checked the differences, on the served pages:
3.1 On website working:
<div class="head-search">
<div class="input-group">
<input type="text" class="form-control header-search-input" placeholder="Buscar …" value="metal" data-header-search-input="/search/query">
</div>
</div>
3.2 On website not working simplesearch:
<div class="head-search">
<div class="input-group">
<input type="text" class="form-control header-search-input" placeholder="<span class=" translate-debug"="" data-toggle="tooltip" title="" data-original-title="PLUGIN_SIMPLESEARCH.SEARCH_PLACEHOLDER">Buscar …" value="" data-header-search-input="/search/query" />
</div>
</div>
- I even copied the simplesearch plugin again from the working website with no luck.
I have not found any related topic in the forum, sorry.
I am lost, any help with this weird issue is appreciated, I did not touch templates nor system or config files, I only changed website data via admin module, custom.css and the user/pages/.
Thanks and Regards
joejac