Osclass forums

Support forums => Plugins => Topic started by: teseo on February 08, 2016, 02:00:09 pm

Title: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on February 08, 2016, 02:00:09 pm
Hi,

Just arrived to the Market:

Multilanguage Custom Fields (http://market.osclass.org/plugins/miscellaneous/multilanguage-custom-fields_498)

Anything you need to know is already there, I'm starting this thread to discuss possible issues, consider suggestions for improvement and/or questions about included Custom function to add specific Custom field values to Search lists.

Hope you find it useful, best regards. :)
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: SmaRTeY on February 08, 2016, 10:17:09 pm
It's a *great* plugin enabling us to translate custom fields FINALLY... 8)

Great job teseo!
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: misterbadillo on March 07, 2016, 09:31:11 pm
It's a *great* plugin enabling us to translate custom fields FINALLY... 8)

Great job teseo!

Hello
I want to know if support chinese simplified language
thanks
Miguel
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on March 07, 2016, 09:43:28 pm
Hi,

Is it zh_CN what you're talking about? ???

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Magnettoo on March 10, 2016, 01:50:30 pm
Hi Teseo,

I just want to ask, Is this plugin adding translation options to existing custom fields, or do we have to create new custom fields within this plugin and those can be translated than?

Thanks ;)
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on March 10, 2016, 02:01:09 pm
Hi,

No, this is fully integrated with standard Custom Fields. Any Custom Field that you already have or create will have Translation options when you click on Advanced Options:

(http://market.osclass.org/oc-content/uploads/4/1410.png)

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on March 17, 2016, 12:59:06 pm
Hi,

Launched update 1.0.3 with fixes for a bunch of bugs found by the users on specific circumstances. Also:

Quote
Detected a couple of themes with a non-standard structure on Ad View. If you couldn't see there your Custom fields properly translated, see Help page ("Special cases requiring theme modification").

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: ayman83 on April 17, 2016, 05:56:56 pm
Great work brother ,

does it support Arabic language ?
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on April 17, 2016, 06:30:44 pm
Hi,

Yes, it does.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: ashutoshv75 on April 22, 2016, 05:36:39 pm
Will combined with Indian Languages too????
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on April 22, 2016, 05:56:22 pm
Hi,

Not tested myself. Where can I download Indian languages packages for Osclass? I don't see anything on the market... ???

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on April 22, 2016, 06:16:29 pm
It's compatible with the Hindi package downloadable here (http://www.osclass.me/hindi-osclass-languages/). You wrote "languages" though, some other package? ???

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: itcafeonline on April 22, 2016, 10:19:34 pm
There is some problem with that pack there. When installed, there seems to be a error.
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on April 22, 2016, 11:01:53 pm
Hi,

That's because the zip includes a mail.sql with non translated strings:

Code: [Select]
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (1, 'en_US', '{WEB_TITLE} - Someone has a question about your listing', '<p>Hi {CONTACT_NAME}!</p><p>{USER_NAME} ({USER_EMAIL}, {USER_PHONE}) left you a message about your listing <a href="{ITEM_URL}">{ITEM_TITLE}</a>:</p><p>{COMMENT}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (2, 'en_US', 'Please validate your {WEB_TITLE} account', '<p>Hi {USER_NAME},</p><p>Please validate your registration by clicking on the following link: {VALIDATION_LINK}</p><p>Thank you!</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (3, 'en_US', '{WEB_TITLE} - Registration successful!', '<p>Hi {USER_NAME},</p><p>You\'ve successfully registered for {WEB_LINK}.</p><p>Thank you!</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (4, 'en_US', 'Look at what I discovered on {WEB_TITLE}', '<p>Hi {FRIEND_NAME},</p><p>Your friend {USER_NAME} wants to share this listing with you <a href="{ITEM_URL}">{ITEM_TITLE}</a>.</p><p>Message:</p><p>{COMMENT}</p><p>Regards,</p><p>{WEB_TITLE}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (5, 'en_US', '{WEB_TITLE} - New listings in the last hour', '<p>Hi {USER_NAME},</p><p>New listings have been published in the last hour. Take a look at them:</p><p>{ADS}</p><p>-------------</p><p>To unsubscribe from this alert, click on: {UNSUB_LINK}</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (6, 'en_US', '{WEB_TITLE} - New listings in the last day', '<p>Hi {USER_NAME},</p><p>New listings have been published in the last day. Take a look at them:</p><p>{ADS}</p><p>-------------</p><p>To unsubscribe from this alert, click on: {UNSUB_LINK}</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (7, 'en_US', '{WEB_TITLE} - New listings in the last week', '<p>Hi {USER_NAME},</p><p>New listings have been published in the last week. Take a look at them:</p><p>{ADS}</p><p>-------------</p><p>To unsubscribe from this alert, click on: {UNSUB_LINK}</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (8, 'en_US', '{WEB_TITLE} - New listings', '<p>Hi {USER_NAME},</p><p>A new listing has been published, check it out!</p><p>{ADS}</p><p>-------------</p><p>To unsubscribe from this alert, click on: {UNSUB_LINK}</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (9, 'en_US', '{WEB_TITLE} - New comment', '<p>Someone commented on the listing <a href="{ITEM_URL}">{ITEM_TITLE}</a>.</p><p>Commenter: {COMMENT_AUTHOR}<br />Commenter\'s email: {COMMENT_EMAIL}<br />Title: {COMMENT_TITLE}<br />Comment: {COMMENT_TEXT}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (10, 'en_US', '{WEB_TITLE} - Edit options for the listing {ITEM_TITLE}', '<p>Hi {USER_NAME},</p><p>You\'re not registered at {WEB_LINK}, but you can still edit or delete the listing <a href="{ITEM_URL}">{ITEM_TITLE}</a> for a short period of time.</p><p>You can edit your listing by following this link: {EDIT_LINK}</p><p>You can delete your listing by following this link: {DELETE_LINK}</p><p>If you register as a user, you will have full access to editing options.</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (11, 'en_US', '{WEB_TITLE} - Validate your listing', '<p>Hi {USER_NAME},</p><p>You\'re receiving this e-mail because a listing has been published at {WEB_LINK}. Please validate this listing by clicking on the following link: {VALIDATION_LINK}. If you didn\'t publish this listing, please ignore this email.</p><p>Listing details:</p><p>Contact name: {USER_NAME}<br />Contact e-mail: {USER_EMAIL}</p><p>{ITEM_DESCRIPTION}</p><p>Url: {ITEM_URL}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (12, 'en_US', '{WEB_TITLE} - A new listing has been published', '<p>Dear {WEB_TITLE} admin,</p><p>You\'re receiving this email because a listing has been published at {WEB_LINK}.</p><p>Listing details:</p><p>Contact name: {USER_NAME}<br />Contact email: {USER_EMAIL}</p><p>{ITEM_DESCRIPTION}</p><p>Url: {ITEM_URL}</p><p>You can edit this listing by clicking on the following link: {EDIT_LINK}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (13, 'en_US', '{WEB_TITLE} - Recover your password', '<p>Hi {USER_NAME},</p><p>We\'ve sent you this e-mail because you\'ve requested a password reminder. Follow this link to recover it: {PASSWORD_LINK}</p><p>The link will be deactivated in 24 hours.</p><p>If you didn\'t request a password reminder, please ignore this message. This request was made from IP {IP_ADDRESS} on {DATE_TIME}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (14, 'en_US', '{WEB_TITLE} - You requested an email change', '<p>Hi {USER_NAME}</p><p>You\'re receiving this e-mail because you requested an e-mail change. Please confirm this new e-mail address by clicking on the following validation link: {VALIDATION_LINK}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (15, 'en_US', '{WEB_TITLE} - Please validate your alert', '<p>Hi {USER_NAME},</p><p>Please validate your alert registration by clicking on the following link: {VALIDATION_LINK}</p><p>Thank you!</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (16, 'en_US', '{WEB_TITLE} - Your comment has been approved', '<p>Hi {COMMENT_AUTHOR},</p><p>Your comment on <a href="{ITEM_URL}">{ITEM_TITLE}</a> has been approved.</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (17, 'en_US', '{WEB_TITLE} - Validate your listing', '<p>Hi {USER_NAME},</p><p>You\'re receiving this e-mail because you\’ve published a listing at {WEB_LINK}. Please validate this listing by clicking on the following link: {VALIDATION_LINK}. If you didn\'t publish this listing, please ignore this e-mail.</p><p>Listing details:</p><p>Contact name: {USER_NAME}<br />Contact e-mail: {USER_EMAIL}</p><p>{ITEM_DESCRIPTION}</p><p>Url: {ITEM_URL}</p><p>Even if you\'re not registered at {WEB_LINK}, you can still edit or delete your listing:</p><p>You can edit your listing by following this link: {EDIT_LINK}</p><p>You can delete your listing by following this link: {DELETE_LINK}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (18, 'en_US', '{WEB_TITLE} - A new user has registered', '<p>Dear {WEB_TITLE} admin,</p><p>You\'re receiving this email because a new user has been created at {WEB_LINK}.</p><p>User details:</p><p>Name: {USER_NAME}<br />E-mail: {USER_EMAIL}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (19, 'en_US', '{WEB_TITLE} - Someone has a question for you', '<p>Hi {CONTACT_NAME}!</p><p>{USER_NAME} ({USER_EMAIL}, {USER_PHONE}) left you a message:</p><p>{COMMENT}</p><p>Regards,</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (20, 'en_US', '{WEB_TITLE} - Someone has commented on your listing', '<p>There\'s a new comment on the listing: <a href="{ITEM_URL}">{ITEM_TITLE}</a>.</p><p>Author: {COMMENT_AUTHOR}<br />Author\'s email: {COMMENT_EMAIL}<br />Title: {COMMENT_TITLE}<br />Comment: {COMMENT_TEXT}</p><p>{WEB_LINK}</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (21, 'en_US', '{WEB_TITLE} - Success creating admin account!', '<p>Hi {ADMIN_NAME},</p><p>The admin of {WEB_LINK} has created an account for you,</p><ul><li>Username: {USERNAME}</li><li>Password: {PASSWORD}</li></ul><p>You can access the admin panel here {WEB_ADMIN_LINK}.</p><p>Thank you!</p><p>Regards,</p>');
INSERT INTO /*TABLE_PREFIX*/t_pages_description (fk_i_pages_id, fk_c_locale_code, s_title, s_text) VALUES (22, 'en_US', '{WEB_TITLE} - Your ad is about to expire', '<p>Hi {USER_NAME},</p><p>Your listing <a href="{ITEM_URL}">{ITEM_TITLE}</a> is about to expire at {WEB_LINK}.');


'en_US'. Given the fact that those fields already exist on the database, hence that error, but anyway the rest is installed fine, so the language is almost fully operative (no mails templates in Hindi though).

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: itcafeonline on April 23, 2016, 12:09:29 am
Got it, thanks teseo
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on May 02, 2016, 11:32:24 pm
Thank you Teseo, this is a really great job
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on May 19, 2016, 02:51:34 am
Hi Teseo,
i have heard that you released a new version (1.1.0)
question is, what's new with this version that last version (1.0.3) does not have?
please give us more info about this

on this page there is no detail about each version:
http://market.osclass.org/plugins/miscellaneous/multilanguage-custom-fields_498

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on May 19, 2016, 01:11:06 pm
Hi,

Just a couple of bug fixes:

1.- Some custom fields of type Radio/Dropdown were missing on specific circumstances when they hadn't express translations set.
2.- Missing linebreaks when showing custom fields values.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: eli k on May 19, 2016, 01:39:06 pm
hi
its support hebrew?
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on May 19, 2016, 01:59:12 pm
Hi,

As far as I know, it supports any language that Osclass can manage. Of course if you buy the plugin and experience any problem, I'd fix it with no further charge.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: eli k on May 19, 2016, 02:08:16 pm
tnx teseo
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on May 20, 2016, 02:53:36 am
Hi,

Just a couple of bug fixes:

1.- Some custom fields of type Radio/Dropdown were missing on specific circumstances when they hadn't express translations set.
2.- Missing linebreaks when showing custom fields values.

Regards

Thank you very much,
and please in the page blow put note and explain any changes of each version that updates, like you did now.
http://market.osclass.org/plugins/miscellaneous/multilanguage-custom-fields_498
Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: ak on June 18, 2016, 01:52:28 am
hi, does this plugin translate the locations? (city,region, country)?
where can i find the documentation for the plugin?
thank you.
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on June 18, 2016, 01:02:11 pm
Hi,

No, only Custom Fields.

It's not rocket science, all you need to know is on the plugin page (http://forums.osclass.org/plugins-20/(premium-plugin)-multilanguage-custom-fields) on the market and the Help page inside the plugin.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on June 21, 2016, 08:35:19 am
hey teseo,
your plugin has a bug, please fix it (modern theme)
translates of TEXT-custom-fields don't appear on item.php (but they appear on item.post and item.edit)
but translates of drop-down-custom-fields appear on all the pages.
regards,
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on June 21, 2016, 02:45:32 pm
Hi,

You're right, I can see this bug was introduced in latest v. 1.1.0 :(

I've fixed the issue and sent a new v. 1.1.1 to the Market, it should be available for download in a couple of days.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on June 21, 2016, 06:13:58 pm
Hi,

You're right, I can see this bug was introduced in latest v. 1.1.0 :(

I've fixed the issue and sent a new v. 1.1.1 to the Market, it should be available for download in a couple of days.

Regards

Thank you
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on June 22, 2016, 11:13:06 pm
teseo,
when you don't select or fill required custom fields in item.post, it gives you error in flash error up, it also doesn't  translate custom fields inside flash error.
regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on June 23, 2016, 01:35:14 pm
Version 1.1.1 already available in the Market, upgrade heavily recommended.

when you don't select or fill required custom fields in item.post, it gives you error in flash error up, it also doesn't  translate custom fields inside flash error.

I see. That will be a bit tricky, for the next update.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on June 23, 2016, 11:19:56 pm
Version 1.1.1 already available in the Market, upgrade heavily recommended.

when you don't select or fill required custom fields in item.post, it gives you error in flash error up, it also doesn't  translate custom fields inside flash error.

I see. That will be a bit tricky, for the next update.

Regards

Thank you
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on July 02, 2016, 11:08:33 am
Teseo,
Translated drop-down custom-fields does not consider in search result
please give us a cure
i just tried to edit this code, but i couldn't
oc-includes\osclass\model\Search.php //line:918
thank you
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on July 02, 2016, 05:22:16 pm
Hi,

Quote
Translated drop-down custom-fields does not consider in search result

I couldn't reproduce that issue here, everything's fine. ??? Please do this test: Disable the plugin for a moment and see if that issue is solved. Let me know the results in any case.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on July 03, 2016, 01:48:35 am
Hi,

Quote
Translated drop-down custom-fields does not consider in search result

I couldn't reproduce that issue here, everything's fine. ??? Please do this test: Disable the plugin for a moment and see if that issue is solved. Let me know the results in any case.

Regards

Teseo,
Maybe i couldn't explain it very well,
in normal way your right its good, but mine is different, i merged custom fields search with title and description search, so i don't have a separate search box for custom fields to select and search, i just search custom fields in website search. that's why i don't have any drop-down to select and search, i have to write it down in search box.
for example i have a drop-down custom fields: (English: car color: red,blue,green), and translation of it: (Italian: colore auto: rosso, blu, verde)
so when i search, it brings (red,blue,green) in search result, but it doesn't bring (rosso, blu, verde) in search result.
my question here is, what we should do to consider the other languages like english in search result?
thank you
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on July 03, 2016, 01:41:19 pm
That is obviously beyond the plugin reach and it would be rather hard to program.  :o

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Pigeon on July 03, 2016, 09:59:42 pm
That is obviously beyond the plugin reach and it would be rather hard to program.  :o

Regards

Teseo,
That's okay
Thank you
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: m6mmi on April 21, 2017, 02:36:02 pm
Excellent plugin by Teseo. Really appreciate it!

Just a quick question, osclass doesn´t support multiple checkboxes for one custom field only thick if yes for checkbox. Would it be possible to develop further features to support multiple checkboxes for one field?

I´m testing this hacky solution from 2013 and i was able to use radio button feature instead, it shows as checkboxes and i can check them, but it doesn´t store checked values to db.

Could you help me out here?

https://forums.osclass.org/development/how-to-have-multiple-checkboxes-for-one-custom-field/
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on April 24, 2017, 12:50:17 pm
Hi,

Sorry, as you can see there, that's something having to do with Osclass core.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Sophia_OS on September 29, 2017, 12:50:43 am
Hi,
what's new in (Version1.2.1)?
there is no details about Versions in this page: https://market.osclass.org/plugins/attributes/multilanguage-custom-fields_498
Thanks
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on September 29, 2017, 12:59:30 am
Hi,

Basically, just added translation of required Custom Field name on validation error ("Field XXXX is required").

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Sophia_OS on September 29, 2017, 02:50:11 am
Hi,

Basically, just added translation of required Custom Field name on validation error ("Field XXXX is required").

Regards

Thanks
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: Sophia_OS on September 30, 2017, 12:37:19 am
.
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: m6mmi on December 14, 2017, 06:14:57 pm
Hi Teseo.

Love this plugin, it gives so much new options for multilanguage site even use this one on single-language sites.

We are trying to impement custom input types to optimize mobile experience. It´s easy to manipulate regular input field type with custom code:

 <script type="text/javascript">
            $(document).ready(function(){
            $("[name^=region]").prop("type", "tel"); <<< this changes input type from text to tel.
            $("[name^=regionId]").prop("type", "hidden");
            });
  </script>

It doesn´t seem to work for multilanguage custom fields inputs, they are all by default type text  .... but for mobile experience it would make it so much better if we could set custom input types.

Do you have any idea how to add bit more code and modify the plugin so we could specify custom input types?
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on December 14, 2017, 07:18:20 pm
Hi,

You can use the same technique with custom fields:

Quote
$("#meta_" + '[identifier]').prop("type", "tel");

Replace here [identifier] with the identifier/slug of your desired custom field.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: m6mmi on December 15, 2017, 01:37:50 am
Thanks Teseo. At first it didn´t work, but when i added it the plugin to MLCFFieldForm.php file after  echo '<div class="meta_list">';    echo '</div> '; ?> starting here.

It started working. Is this right place or should i use some other location to add this script?
         
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: teseo on December 15, 2017, 01:21:37 pm
Yes, seems like a good place. Custom fields inputs are regenerated every time category is changed, so this modification must be applied every time as well.

Regards
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: m6mmi on December 15, 2017, 01:57:09 pm
All works good, thanks again for the tip :)
Title: Re: [Premium plugin] Multilanguage Custom Fields
Post by: m6mmi on November 13, 2018, 07:03:14 pm
Hello Teseo.

I´m using multilanguage CF plugins and sortable plugsin, but I  need to move one custom field away from custom fields area on Item-post and move to between default (title, location etc) input positions. Like above category. I found this tutorial from your: https://forums.osclass.org/3-5-x/custom-fields-31684/msg134722/#msg134722 << this works without problems with only sortable plugin activated, but this code doesn´t work with multilanguage CF plugin.

Is there a solution to move just one custom field to between/below default input postion more exactly I want to move one checkbox CF below region input field.

Any ideas / direction most welcomed.