facemail4me
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Create a store with phpokay thx it works fine.
YOu can add the post and meta in one function.
Now i have another question.
I need to ” Clear store locator transient cache” that it will show, wen you don’ filld the search form.
Is there a function for that?Forum: Plugins
In reply to: [WP Store Locator] Create a store with phpokay i get the error:
Cannot redeclare wpsl_get_gmap_api_params() (previously declared in wp-content/plugins/wp-store-locator/inc/wpsl-functions.php:12)i included like this:
$file = ABSPATH.’wp-content/plugins/wp-store-locator/inc/wpsl-functions.php’;
include($file);and used it like this:
$longlat = wpsl_get_address_latlng( $fields[ ‘street’ ].’ ‘.$fields[ ‘nr’ ] .’, ‘.$fields[ ‘city’ ] );Forum: Plugins
In reply to: [WP Store Locator] Create a store with phpokay thanks for the quick response.
That’s what I call good support, i like it
When would the function be available?And how do I get the “wpsl_get_address_latlng” function in the function.php? The rest I know and can implement myself.
Forum: Plugins
In reply to: [WP Store Locator] Create a store with phpi would like to have the function that is used at CSV import, which also maps the fields and calculates GPS.
If I buy the add-on, do I have such a function and if so, what is it called?okay, I’ve now figured out how to do something about changing the form.
How do I get it now that I can read stalls from other fields or set values.
Somehow in the same direction as I tried in the setHidden function.document.addEventListener("DOMContentLoaded", function(event) { var myCustomFieldController = Marionette.Object.extend({ inaitialize: function() { var fieldsChannel = Backbone.Radio.channel( 'fields' ); this.listenTo( fieldsChannel, 'change:modelValue', this.setHidden(fieldsChannel) ); }, setHidden: function(model, fields ) { var location = fields.get(273) var location1 = fields.get(274) var location2 = fields.get(275) console.log(location) console.log(location1) console.log(location2) } }); new myCustomFieldController(); });- This reply was modified 5 years, 9 months ago by facemail4me.
Forum: Plugins
In reply to: [WP Job Manager] Random TranslationYes, i know it.
And the Words “search %s” is already translatet.
But it didn’t work!!Is it now possible?
How you solved it?
Hei
ist der a chacne for invisible Captcha from google?hi okay,
i used now a text field with a costum validation
If someone wants the code:
add_action(‘um_submit_form_errors_hook_’,’um_custom_validate_date’, 999, 1);
function um_custom_validate_date( $args ) {
global $ultimatemember;
$d = DateTime::createFromFormat(‘d.m.Y’, $args[‘Fieldname’]);
if ( $d === false) {
$ultimatemember -> form ->
add_error(‘Fieldname’,’erorrmessage’);
}
}- This reply was modified 8 years, 8 months ago by facemail4me.