Forums Forums Search & Filter Pro Invisible Ajax results

Viewing 5 posts - 11 through 15 (of 15 total)
  • Anonymous
    #16471
    This reply has been marked as private.
    Ross Moderator
    #16474

    Hey Stephane

    Normally I would say yes, but at the moment I’m just way too busy – my main priority is first to complete S&F 2.0, after this I may be available for this kind of work!

    Thanks

    Anonymous
    #16476

    🙁

    Anonymous
    #16521

    Ok, managed it to work !

    For those who use Salient theme : add this to search-filter/results.php :

    <script type="text/javascript">
    
    	<![CDATA[
    	
    		$(".searchandfilter").on("sf:ajaxstart",function(){
    			console.log("ajax start");
    			$('#loader').show();
    		});
    		
    		$(".searchandfilter").on("sf:ajaxfinish",function(){
    			console.log("ajax complete");
    			$('#loader').hide();
    						
    			jQuery.getScript("PATH_TO_YOUR_THEME_DIRECTORY/salient/js/init.js", function(data, textStatus, jqxhr) {
    			   //console.log(data); //data returned
    			   //console.log(textStatus); //success
    			   //console.log(jqxhr.status); //200
    			   //console.log('script.js loaded.');
    			});
    				
    		});
    		
    	]]>
    
    </script>
    Ross Moderator
    #16522

    Wow amazing! And lightning fast!! 🙂

Viewing 5 posts - 11 through 15 (of 15 total)