How to Increase Ads on main page

HI Friends any one know how to increase number of ads in the ads block in home page. by default it has 4.
and is there any possible way to have other blocks on home page which are not there already? like featured ads, etc?

Quote · 4 Feb 2010

Any help here please?

Quote · 4 Apr 2010

/**
 * Ads block for index page (as PHP function). List of latest ads.
 *
 * @return html of last ads units
 */
 function serviceAdsIndexPage() {
  require_once( $this->_oConfig->getClassPath() . 'BxAdsSearchUnit.php');
  $oTmpAdsSearch = new BxAdsSearchUnit();
  $oTmpAdsSearch->aCurrent['paginate']['perPage'] = 4;
  $oTmpAdsSearch->aCurrent['sorting'] = 'last';

Open   /modules/boonex/ads/classes/BxAdsModules.php   start looking around line 2980 for function serviceAdsIndexPage. Then change the perPage from 4 to what ever you like.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 4 Apr 2010

dolphin_jay Thanks,  i will give it a try

Quote · 4 Apr 2010

This was very helpful. You have saved me hours.

Quote · 15 Feb 2011
 
 
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.