gianloga
Forum Replies Created
-
Hello, solved myself…
it was necessary to add the following function into the form code (property-search-form.php):
<?php
do_action( 'wpml_add_language_form_field' );
?>
Regards
GianlucaOk Maria, i will provide to contact Marcus as soon as possible
Regards
GianlucaHello, i found some documentation and post in the forum support of WPML and i noticed that other users have my same problem:
https://wpml.org/forums/topic/wp-property-has-duplicate-properties-in-a-single-language-listing/

https://wpml.org/forums/topic/im-using-wp-property-and-on-translate-page-doesnt-show-all-properties/page/2/Now, i partially solved my problems, actually, if i set in WPML settings Custom Types “Properties” as non translatable i manage properties one time in the default language and the single property page is correcty translated in the alternative language (custom attributes are translated) and permalink work fine… website.ext/properties/single-property and website.ext/en/properties/single-property are displayed with the translations of descriptions and attributes…
So, i neeed only to redirect user in the correct property overview page when they do research from the translated homepage website.ext/en in which i inserted the search property widget for both languages.
I hope you can give me this kind of support.
Important: at the moment the default page of listings of property in my alternative language (webiste.ext/en/properties) is empty but i expect to have a list of the properties…Thank you in advance
Hello Maria,
thank you for the suggestions.
I found the problem: it was necessary enable also dhe “direction api” service.
Useful this topic:
https://stackoverflow.com/questions/32994634/this-api-project-is-not-authorized-to-use-this-api-please-ensure-that-this-apiNow it works fine!
Thank you
GianlucaHello Maria,
yes i tryed different configurations but it seems unpossible display the map (that works only with coordinates).
In the main tab i setted for “Attribute to use for physical addresses” the field “Indirizzo completo” (indirizzo_completo), that is a custom short text attribute and “Italian (it)” in the dropdown “localized addresses”;
In the view tab i setted the following tags:
[street_name], [street_number], [zip_code], [city]
And finally, in the single property page, in the custom attribute “indirizzo completo” i inserted a real address, for example: “Viale Regina Margherita, 82, 47924 Rimini”.What am i missing? I hope you can suggest me the solution.
Thank youThank you very much Maria.
I fixed the file and it works fine.
GianlucaHello,
i replicated the same problem in a new clean wordpress installation with a Worpress Standard Theme (Twenty Sixteen).
Could you provide a patch or a new release to solve this important issue?
Thank you in advance.
GianlucaWhat versions of WPML and WP-Property do you have, are they latest? We will add that issue to our roadmap of next releases. We do not provide ETA, cause our products are free.
Hello,
yes, latest versions:
wpml multilingua cms 4.0.7
wp-property 2.3.6
I hope you can fix the issue as soon as possibile.
Thank you in advance
GianlucaCan’t say, because can’t replicate an issue. That should be investigated directly on your site.
Hello, i’ve investigated the issue and i noticed that there is a conflict with WPML Multilingual CMS Plugin. Actually, if i deactivate that plugin, single page property work fine and attributes values (dropdown selection type) are correctly displayed.
And now some suggestion?!
Thank you in advance
GianlucaI see an issue which you mentioned. What theme are you using, do you have the same issue in some default WP theme?
I’m using a custom template (i always used to use custom theme with WP-Property without problems) but i have the same problem with a default WP theme (for example “Twenty Sixteen”)
Any suggestion?
Gianluca
Perfetto, ti confermo che con le tue indicazioni ho risolto.
N.B. per poter visualizzare nelle email oggetto e subline occorre, anche in questi due campi, modificare il testo ed aggiornare le impostazioni, altrimenti non vengono visualizzati nella mail di notifica all’utente (che risulta senza oggetto).
Un saluto e buon lavoro
Gianluca- This reply was modified 7 years, 7 months ago by gianloga.
Ciao Alessandro,
al momento ho l’ultima versione (2.0.7), fino a ieri avevo comunque la più recente disponibile.
Provo a fare le azioni da te indicate e ti faccio sapere. Grazie intanto.
GianlucaCiao Alessandro,
ti ringrazio per le indicazioni, ho risolto grazie ai tuoi consigli, questa soluzione inoltre mi permette di personalizzare l’area protetta di volta in volta nei template di WP.
Ho integrato nel messaggio per gli utenti non loggati anche il link verso l’area login con redirect e le stringhe per la traduzione di WPML, questo il codice (magari torna utile ad altri):<?php $value = get_field( "custom_field" ); $url = get_permalink(); if ( is_user_logged_in() ) { echo ('<p><a href="'), $value, ('" class="class1 class2"> '.__('TEXT FOR TRANSLATION WITH WPML', 'domain_example').'</a></p>'); } else { WPUM()->templates ->set_template_data( [ 'message' => '<p>Questa risorsa è riservata ad utenti registrati al sito: effettua login o registrati</p><p><a href="/login/?redirect_to='.$url.'" class="class1 class2">'.__('TEXT FOR TRANSLATION WITH WPML', 'domain_example').'</a></p>' ] ) ->get_template_part( 'messages/general', 'warning' ); } ?>Grazie
Un saluto
Gianlucaok i will check it
I’ve disabled al third-party plugin (also ACM) but i have always the same problem.