*

Andrey

  • ****
  • 157 posts
the user to hide the phone
« on: November 28, 2019, 05:58:23 PM »
Hello! Please tell me: how to make it possible for the user to hide the phone at will, as with an email

Thank you

*

MB Themes

Re: the user to hide the phone
« Reply #1 on: November 29, 2019, 03:09:18 PM »
@Olime
You would have to update database as well because information if email is shown or not is stored in item table.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: the user to hide the phone
« Reply #2 on: November 29, 2019, 07:15:10 PM »
You did not understand me. I want the user to be able to hide the phone or show when submitting an ad. For dating category.
There is also Beta at the Head.php
<? php if (osc_get_canonical ()! = '') {?> <link rel = "canonical" href = "<? php echo osc_get_canonical ();?>" /> <? php}?> but it doesn't work after alpha. Yandex sends:

Hello!

Important pages have changed the attribute rel = "canonical":

https://site.net/elektrostal/uslugi/avtouslugi/ustanovka-webasto-remont-vebasto-v-elektrostali_i176728
Old value: https://site.net/elektrostal/uslugi/avtouslugi/ustanovka-webasto-remont-vebasto-v-elektrostali_i176728
New value: -

https://site.net/zhukovskiy/kuplyu-prodam/odezhda-obuv-aksessuary/detskiy-garderob/kostyum-zimniy_i179099
Old value: https://site.net/zhukovskiy/kuplyu-prodam/odezhda-obuv-aksessuary/detskiy-garderob/kostyum-zimniy_i179099
New value: -

Why the rel = "canonical" attribute does not work :? Tell me please. Thank you
« Last Edit: November 29, 2019, 07:33:41 PM by Olime Olime »

*

MB Themes

Re: the user to hide the phone
« Reply #3 on: November 30, 2019, 09:05:03 AM »
I understood very well, just do not understand why you mix different topic. Canonical urls are generatex by osclass and may not be shown on every page.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: the user to hide the phone
« Reply #4 on: November 30, 2019, 09:51:58 AM »
Sorry for mixing the threads. Beta do not generate rel = "canonical"

You say update the database. It was updated when installing Osclass 3.9.0
« Last Edit: November 30, 2019, 09:53:56 AM by Olime Olime »

*

Andrey

  • ****
  • 157 posts
Re: the user to hide the phone
« Reply #5 on: November 30, 2019, 10:51:08 AM »
Yes, sorry, this is my problem. On the test site, Beta generates rel = "canonical".
What could be the problem please help

*

MB Themes

Re: the user to hide the phone
« Reply #6 on: November 30, 2019, 02:03:28 PM »
Theme does not generate canonical urls, osclass does.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots