WordPress.org

Support

Support » Plugins and Hacks » SearchAutocomplete » [Resolved] CSS dropdown not selectable

[Resolved] CSS dropdown not selectable

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Plugin Author Gabe Shackle

    @hereswhatidid

    The latest release (2.0.4) should fix this. Please let me know if the issue still occurs.

    Plugin Author Gabe Shackle

    @hereswhatidid

    Marking this as resolved due to inactivity.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] CSS dropdown not selectable’ is closed to new replies.
Skip to toolbar