Forums

SearchAutocomplete
CSS dropdown not selectable (2 posts)

  1. Douglas Karr
    Member
    Posted 3 months ago #

    CSS dropdown is not selectable, it's just blank so I can't actually modify which css file to choose.

    http://wordpress.org/extend/plugins/search-autocomplete/

  2. jammy to go
    Member
    Posted 1 month ago #

    Most likely your server is not windows, and the plugin is scripted to look in windows based directories '\'.

    I had the same problem but managed to sort it out by editing the following file 'wp-content/plugins/search-autocomplete/searchautocomplete.php'.

    Find lines:

    $globFilter = dirname(__FILE__).'\css\*\*.css';
    
    	foreach( glob($globFilter) as $stylesheet) {
    
    		$newSheet = str_replace(dirname(__FILE__).'\css', '', $stylesheet);
    
    		$newSheet = str_replace('\\', '/', $newSheet);

    Replace with:

    $globFilter = dirname(__FILE__).'/css/*/*.css';
    
    	foreach( glob($globFilter) as $stylesheet) {
    
    		$newSheet = str_replace(dirname(__FILE__).'/css', '', $stylesheet);
    
    		$newSheet = str_replace('//', '/', $newSheet);

    Hope it helps.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags