*

alex7070

  • ****
  • 132 posts
Question about custom field - Phone
« on: December 01, 2021, 01:07:49 PM »
Hello! I noticed that the new version 8 osclass has a new Custom Field - Phone.
But at the same time, the Phone field is already built into the Sigma theme. How does it fit together? The phone from the Sigma theme is recorded in which field? Thanks

*

MB Themes

Re: Question about custom field - Phone
« Reply #1 on: December 01, 2021, 03:56:49 PM »
@alex7070
Please check HTML input types:
https://www.w3schools.com/html/html_form_input_types.asp

Does not mix "type" of field and "meaning" of field.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Re: Question about custom field - Phone
« Reply #2 on: December 02, 2021, 01:48:39 PM »
You misunderstood me. If I add an additional field Phone, then when using the Sigma theme, 2 fields for the phone are visible there. And when using other themes, for example Bender - 1 field, the one I added.


*

MB Themes

Re: Question about custom field - Phone
« Reply #3 on: December 02, 2021, 06:10:34 PM »
If osclass already use phone field and store phone in item table, what is purpose to create another one?
In some edge case it is needed to have ie multiple phone number, but suppose in such case you would not ask how to use it  :-*
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Re: Question about custom field - Phone
« Reply #4 on: December 03, 2021, 03:47:30 PM »
If osclass already use phone field and store phone in item table, what is purpose to create another one?
In some edge case it is needed to have ie multiple phone number, but suppose in such case you would not ask how to use it  :-*

The problem is that if I want to change the Sigma theme to another, then all the phones that users entered on the site with the sigma theme will not be visible in the other theme.

*

MB Themes

Re: Question about custom field - Phone
« Reply #5 on: December 03, 2021, 06:47:13 PM »
Sigma theme use osclass item table.
Themes use their own.
Migration may be needed after theme change
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Re: Question about custom field - Phone
« Reply #6 on: December 03, 2021, 10:03:54 PM »
In general, the telephone field is the most important in the ad. It is not clear why this field was not made standard in all themes.

*

MB Themes

Re: Question about custom field - Phone
« Reply #7 on: December 03, 2021, 10:27:57 PM »
Because it was not available on item table in past
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Re: Question about custom field - Phone
« Reply #8 on: December 04, 2021, 12:09:14 PM »
Maybe now it is possible to oblige  authors of all themes  to use the telephone field so that there is no further confusion?

*

MB Themes

Re: Question about custom field - Phone
« Reply #9 on: December 04, 2021, 02:10:20 PM »
You cannot force anyone to do it and until theme has own solution, there is no real reason to do that  :o
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alex7070

  • ****
  • 132 posts
Re: Question about custom field - Phone
« Reply #10 on: December 04, 2021, 02:22:36 PM »
Or maybe it is possible to make the functionality of osclass itself to force the display of the phone field regardless of the theme used?

*

MB Themes

Re: Question about custom field - Phone
« Reply #11 on: December 04, 2021, 02:24:56 PM »
Each theme usually ise own table, so ultimate solution does not exists.
Ideal way is to migrate phone data from theme tables to item table.
One simple sql should do it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots