loshberry
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Dropdown menu's not working on touch deviceshi all, i managed to solve this bug with a little hacking of the codes:
1. /frontend/class-frontend.php:
line 177:
changeWPSL_URL.'js/jquery.easydropdown.min.js'
toWPSL_URL.'js/jquery.easydropdown.js'
(so that we can edit the plugin’s js file)2. /js/jquery.easydropdown.js:
line 144:
beforeself.$select.focus();
, add a new line:
self.$select.show();
self.$select.focus();
have tested this on iPhone and it works, not sure about other devices.
Forum: Plugins
In reply to: [WP Store Locator] Multilingual support with qTranslatesure, thanks!
Forum: Plugins
In reply to: [WP Store Locator] Multilingual support with qTranslatethanks! with this I managed to get the admin panel to retain the original tags, but on the frontend it displayed the tags directly as text (qTranslate not parsing the tags correctly).
i managed to get it to work by changing the display code in frontend template: frontend/templates/default.php
from
*$output .= '<div><label for="wpsl-search-input">' . esc_html( stripslashes( $this->settings['search_label'] ) ) . '</label></div>' . "\r\n";
to
$output .= '<div><label for="wpsl-search-input">' . (__($this->settings['search_label'])) . '</label></div>' . "\r\n";
unfortunately this only works for this particular field and i suppose i have to change the code for all the fields. if there is an easier way to do this change, would appreciate your help, otherwise, thanks for the tip! =)
Forum: Plugins
In reply to: [WP Store Locator] Dropdown menu's not working on touch deviceshi, I have just installed the latest version of this store locator in my WP 3.8.1 site using Envision theme (https://themeforest.net/item/envision-responsive-retina-multipurpose-theme/5928018). I am encountering the same issue of not having the dropdowns opening on touch devices. I have tested it on the iPhone 5 (iOS 7.0.4).