*

Andrey

  • ****
  • 157 posts
Regions in the footer to cities
« on: April 09, 2020, 12:51:07 PM »
Please tell me how to change regions in the footer to cities



And how to fix premium link on the main page {ITEM_CITY}, In simple ads, the link indicates the city, but in the premium no

This is the part in the source code.
        <!-- PREMIUMS BLOCK -->
        <div id="premium" class="products grid single-tab" data-tab="premium" style="display:none;">
          <h2>Предложения от наших премиум-клиентов</h2>

          <div class="block">
            <div class="prod-wrap">
                                            <div class="simple-prod o1 is-premium ">
  <div class="simple-wrap">

              <a class="label lab-prem alpBg" href="https://site.net/{ITEM_CITY}/remont-stroitelstvo/stroymaterialy/giperpressovannyy-kirpich-195562">
« Last Edit: April 09, 2020, 08:47:31 PM by Andrey »

*

MB Themes

Re: Regions in the footer to cities
« Reply #1 on: April 10, 2020, 01:34:11 PM »
@Andrey
Check footer.php and change regionstats to citystats, ... may be bit complicated
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: Regions in the footer to cities
« Reply #2 on: April 10, 2020, 01:42:47 PM »
No, the region does not work. But it’s more important to fix the link in the Premium Ads on the main page

The whole problem, as I understand it here /oc-includes/osclass/helpers/hDefines.php:549
But I don’t know how to fix it.
« Last Edit: April 10, 2020, 01:46:22 PM by Andrey »

*

MB Themes

Re: Regions in the footer to cities
« Reply #3 on: April 10, 2020, 03:34:57 PM »
Refresh osclass stats.
I am not aware of any problems with premium links
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: Regions in the footer to cities
« Reply #4 on: April 10, 2020, 05:11:54 PM »
If you look at my site through a search {ITEM_CITY}
view-source: https: //do-mos.ru/

And I found a site for osclass on the Internet
view-source:https://xn-----6kcbechue4acjte0afmn6afrh4evgua3i.xn--p1ai/

Same location issue in links for premium ads {ITEM_CITY}

*

Andrey

  • ****
  • 157 posts
Re: Regions in the footer to cities
« Reply #5 on: April 10, 2020, 07:28:30 PM »
It is resolved.
The problem is because I upgraded to Osclass 3.9.0 in the fall.