Support Forums - Classified Ads Script Osclass

Osclass theme support => Zara Osclass Responsive Theme => Topic started by: daniel222 on August 22, 2016, 05:47:07 PM

Title: Premium Search
Post by: daniel222 on August 22, 2016, 05:47:07 PM
Good day

     there is some way of placing in the module of search, alone 10 announcements premium and that these are random.


Thank you
Title: Re: Premium Search
Post by: MB Themes on August 23, 2016, 10:24:52 AM
@daniel222
You can do it if "list" view in search is selected.
To enable premiums here, go to file:
oc-content/themes/zara/search_list.php

Find:
Code: [Select]
1==2
Replace with:
Code: [Select]
1==1
Find:
Code: [Select]
osc_get_premiums(4)
Replace with:
Code: [Select]
osc_get_premiums(10)
Title: Re: Premium Search
Post by: daniel222 on August 24, 2016, 03:42:52 PM
Good day I am doing the change of 1 == 1 and exit duplicate the announcements, additional to it I want that it shows alone 5 announcements, and instead of it it shows all.

Also I want that they remain static , always this one to the beginning and do not go down when another free advertisement is published.

Thank you
Title: Re: Premium Search
Post by: MB Themes on August 24, 2016, 05:00:17 PM
@daniel222
Sorry, do not understand what you really want.
Title: Re: Premium Search
Post by: san37 on August 25, 2016, 05:07:31 PM
It was good for me

http://forums.mb-themes.com/zara-osclass-responsive-theme/premium-ads/msg297/#msg297