ximkronos
Forum Replies Created
-
In your link, the addition of the results for each categories does not match the total of results displayed on the page.
It seems like (in my example) the number for category1 is just the addition of the categories under it, not including what’s in its own category. Only the categories that don’t have categories under it (in the results) are working.
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Custom display for infinite scrollwith the “Use my own theme search template” option, there is no more Ajax items
So if understand well. I have a choice to make :
I can use infinite scroll with your default templates.
Or i can define my own templates to display what i want. But in that case there is no way to use the infinite scroll properly.
But you say this earlier :A simple feature : be able to use a custom template for infinite scroll
If you chose the mode “Use my own theme search template”, you can do whatever you want already.
But it just seem to be false.
From the code it doesn’t seems possible to customize the output of infinite scroll (from ajax requests) and all your answsers are confusing (“yes it’s possible” but “no more ajax if use your own theme”).
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Custom display for infinite scrollCan you give me more exlaination about how to customize those ajax items for the infinite scroll?
I didn’t succeed do find a theme working with infinite scrolls and don’t use the default display.
And I’m always keeping in mind :
For me, the reply of the ajax call is made in the ajax_solr_services.php/return_solr_results() function, whitch itself call the WPSolrSearchSolrClient::display_results method that build the response. But never call an external template or something like this.
There must be something i don’t know/understand.
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Custom display for infinite scrollThat’s why i use a search.php template that customize the display, but not for the ajax items.
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Custom display for infinite scrollWhat template are you talking about?
I already use this mode, but it’s not working. It d’ont use my temlate for the items loaded in ajax.Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Indexing : Empty button not workingI’m on Firefox 46.0.1 / Windows 7
Forum: Plugins
In reply to: [WPSOLR - Elasticsearch and Solr search] Plugin not working with groupsBy going up in the error stack, i found that it’s the WpSolrExtensions class (it construct the PluginGroups) that is called twice.
This class seems to be like a singleton, constructed by his “load()” method. But since the __construct() method is not private, it is manually called by the WPSolrSearchSolrClient class (classes/solr/wpsolr-search-solr-client.php) instead of the static load().