Changing the number of classified ads displayed on the homepage

I've spent ages searching for this answer, but everything I find refers to editing /templates/base/scripts/BxBaseIndex.php, a file that no longer exists in 7.0.7. Does anyone know how I can change the number of classified ads that display on the homepage in 7.0.7?

Quote · 7 Sep 2011

i am in the same boat, it's set to 4, but i want to change it to 6....were u able to locate the solution?

Everyday is a new beginning.
Quote · 4 Oct 2012

/modules/boonex/ads/classes/BxAdsModule.php

Line 3002

* Ads block for index page (as PHP function). List of latest ads.

function serviceAdsIndexPage() {

require_once( $this->_oConfig->getClassPath() . 'BxAdsSearchUnit.php');

$oTmpAdsSearch = new BxAdsSearchUnit();

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 4;

$oTmpAdsSearch->aCurrent['sorting'] = 'last';

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 4 Oct 2012

i am a newbie on this how or where do i go

Everyday is a new beginning.
Quote · 4 Oct 2012

cpanel to edit the file or download it via ftp make the changes on your computer then re upload it back to the server or download the attached file and replace yours with it.  Changed it to show 6 instead of 4.

This file came from dolphin 7.0.9

BxAdsModule.php · 114.1K · 189 downloads
https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 4 Oct 2012

ok i will see what i can do.thanks

Everyday is a new beginning.
Quote · 4 Oct 2012

I just tried this for dolphin 7.1 and couldn't find anything near line 3002 does anyone have any idea where it might be?

/modules/boonex/ads/classes/BxAdsModule.php

Line 3002

* Ads block for index page (as PHP function). List of latest ads.

function serviceAdsIndexPage() {

require_once( $this->_oConfig->getClassPath() . 'BxAdsSearchUnit.php');

$oTmpAdsSearch = new BxAdsSearchUnit();

$oTmpAdsSearch->aCurrent['paginate']['perPage'] = 4;

$oTmpAdsSearch->aCurrent['sorting'] = 'last';

Quote · 18 Jan 2013

Found it, it's on line 3120

Quote · 18 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.