Kiran
Forum Replies Created
-
AuthorPosts
-
July 19, 2017 at 11:48 am in reply to: Date selection doesn't work from the frontend for french version #387675This reply has been marked as private.July 19, 2017 at 11:41 am in reply to: Date selection doesn't work from the frontend for french version #387672This reply has been marked as private.July 19, 2017 at 11:19 am in reply to: Date selection doesn't work from the frontend for french version #387668
Hi Clem,
I have created that event from front site via link you given. Noa again i tested with Chrome & Firefox with Windows OS and it worked without any problem. I have chosen 30 November date.
Let me know which browser you are using? It will help us if you provide video capture.
Let us know.
Thanks,
KiranHi Rita,
– The client keep doing as usual when adding places (the countries are displayed in French in the gd places editor).
<
There is no problem in add listing form if it displaying the country names in non English, because here country name translated via .po translation but country value still remain as English. So after the lisitng submitted it saves the country name in English.– The only things to take care is to not set countries names in other language than english when we import a csv file right?
<
Yes exactly, country values should be remains in English, so it can easily translated in other languages for multilingual sites.– About ISO country names, you mean we have to set “FR” for “France” into the csv file country column (for updating places and or locations) ? “france” or “Spain” is good too right ?
<
During import listing/locations, standard English names(like France, Spain, United States, United Kingdom) should be used for country. Do not use short name.
See here list of country names just after ids: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-admin/admin_db_install.php#L104– I need to change some authors (post_author column). I just export place file, change author ID then import it (with update post setting enabled). Countries will be ok right ?
<
There is no problem here, problem only occurs if country column has non English names.
You can try importing 2-3 listings first, and if you find everything ok then you can proceeded for all the listings.Let us know if you find any problem.
Thanks,
KiranHi Tania,
I have uploaded most recent files of Invoicing plugin and now seems it working fine.
Please check & let us know.
Thanks,
KiranHi There,
Instructions that displayed about bank details can be edited from Invoicing > Settings > Payment Gateways > Pre Bank Transfer > Instructions
To modify bank info details you can use hooks to filter labels/values. Put following code snippet into your theme functions.php file or save into any third party code snippet plugin if you have.
// Set custom title instead of "Our Bank Details" for Pre Bank Transfer gateway. function wpi_custom_receipt_bank_details_title( $title ) { $title = __( 'My Details' ); // Your custom title here. return $title; } add_filter( 'wpinv_receipt_bank_details_title', 'wpi_custom_receipt_bank_details_title', 10, 1 ); // Modify bank info labels for Pre Bank Transfer gateway. function wpi_custom_wpinv_bank_info( $bank_info, $filtered ) { if ( isset( $bank_info['bank_transfer_ac_name'] ) && isset( $bank_info['bank_transfer_ac_name']['label'] ) ) { $bank_info['bank_transfer_ac_name']['label'] = __( 'Name' ); // Account Name => Name } if ( isset( $bank_info['bank_transfer_ac_no'] ) && isset( $bank_info['bank_transfer_ac_no']['label'] ) ) { $bank_info['bank_transfer_ac_no']['label'] = __( 'Address Line 1' ); // Account Number => Address Line 1 } if ( isset( $bank_info['bank_transfer_bank_name'] ) && isset( $bank_info['bank_transfer_bank_name']['label'] ) ) { $bank_info['bank_transfer_bank_name']['label'] = __( 'Address Line 2' ); // Bank Name => Address Line 2 } if ( isset( $bank_info['bank_transfer_ifsc'] ) && isset( $bank_info['bank_transfer_ifsc']['label'] ) ) { $bank_info['bank_transfer_ifsc']['label'] = __( 'Postal Zip' ); // IFSC code => Postal Zip } if ( isset( $bank_info['bank_transfer_iban'] ) ) { unset( $bank_info['bank_transfer_iban'] ); // Remove IBAN line } if ( isset( $bank_info['bank_transfer_bic'] ) ) { unset( $bank_info['bank_transfer_bic'] ); // Remove BIC/Swift code } return $bank_info; } add_filter( 'wpinv_bank_info', 'wpi_custom_wpinv_bank_info', 10, 2 );
Thanks,
KiranJuly 19, 2017 at 4:22 am in reply to: Date selection doesn't work from the frontend for french version #387644Hi Clem,
I have checked by creating an event in both languages English & French, but can’t recreate problem from my side.
I have created one event with date 30 novembre 2017(2017-11-30) and it shows me correct date on listing page & detail page. Both pages shows the date “30 novembre 2017”.Let us know steps or more info how to recreate problem from our side.
Thanks,
KiranHi Rita,
Please check, country translation problem has been fixed. We have update patch on your site too.
Country name should stored in English name(ISO country name) and it should be translated via .po file.
So use ISO country name during import listings/locations.Let us know.
Thanks,
KiranThanks for letting us know 🙂
This reply has been marked as private.Hi Rita,
Country should be saved always in English language and it only should be translated when country name used for display purpose. In export csv Country should be also in English language.
Let us provide phpMyAdmin database we have to look into locations & listings table data.
Thanks,
KiranThis reply has been marked as private.This reply has been marked as private.Hi Tom,
For customization you should use hooks to meet your requirements. But editing core files is not good because changes done in core files will be lost when you update the plugin in future.
If you have any issue within GeoDirectory plugin then you can ask us for support. To provide support we need original core files back as before. It is hard to find core changes made by your developer and some times core changes breaks the original functionality of the plugin.
Let us know.
Kiran
This reply has been marked as private. -
AuthorPosts