Welcome, Guest
Username: Password: Remember me

TOPIC: I do not want to display top ads at the top of the results page

I do not want to display top ads at the top of the results page 1 year 3 months ago #5733

  • flo44
  • flo44's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hello,

Is it possible not to display the top ads at the top of the result pages ?... I know that it's the purpose of this functionality but i prefer to display these paid ads :
- in a dedicated module. No problem about this point i can use the module functionality > OK
- in the results page, with the other ads according to their date of creation (or another criteria). but i do not want to put the top ads at the top ; all the ads have to be mixed > KO. How to do this ?

Thans for your help

Regards
The administrator has disabled public write access.

I do not want to display top ads at the top of the results page 1 year 3 months ago #5734

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2763
  • Thank you received: 292
  • Karma: 40
So you no need to display the Top Ads at the top in the search result page. correct? Also you need this only in search result page. correct? if so, please send your site URL and FTP details to This email address is being protected from spambots. You need JavaScript enabled to view it. . So that we will change it for you.

Thanks.
The administrator has disabled public write access.

I do not want to display top ads at the top of the results page 1 year 3 months ago #5735

  • flo44
  • flo44's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hello,

Thanks very much for your fast response.

Can i do the change on my own ? Could you provide me with the file and the source code to modify ?

Thank you !

Regards,
The administrator has disabled public write access.

I do not want to display top ads at the top of the results page 1 year 3 months ago #5738

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2763
  • Thank you received: 292
  • Karma: 40
Dear Customer,

Kindly open the search.php file from the below path,

Root -> components -> com_jomclassifieds -> models->search.php

In the above file search the below code and remove it in all instances,
a.featured DESC,

Note : Please remove only "a.featured DESC,"

Thanks.
The administrator has disabled public write access.

I do not want to display top ads at the top of the results page 1 year 3 months ago #5747

  • flo44
  • flo44's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hello,
It works, thanks !!
Regards
The administrator has disabled public write access.
Time to create page: 0.194 seconds