How many sites show home page block

Every module I have has a setting to adjust how many items show on my home page, except Sites. It does have this vagurey:

The number of items shown on the page:
 

I do have it set to 1, and I still have several sites showing in the block. Cleared cache's...all that. Im perplexed?

Any one know what I am supposed to do here?

This sentance says nothing, and its possibly spellt wrong.
Quote · 10 Jun 2011

Hello, yes you right that parameter was hardcoded  here: modules\boonex\sites\classes\BxSitesSearchResult.php

If you want change that param find this code lines:

            case 'index':
                $this->sSitesBrowseUrl = 'index';
                $this->sSitesBrowseAll = 'browse/all';
                $this->aCurrent['paginate']['perPage'] = 3;
                $this->aCurrent['restriction']['public']['value'] = BX_DOL_PG_ALL;
                break;

and replace 3 with you needed value

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 10 Jun 2011

THANK YOU SASHA!!!

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 4 Sep 2011

Hello again,

Do you know how can I control the length of snipped text that is attached to the Sites image on index page?

Thank You.

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 10 Apr 2012

Hello

Do you know how can I control the length of snipped text that is attached to the Sites image on index page?

You may do it via modules/boonex/sites/classes/BxSitesTemplate.php file -> _getUnit method. The code is below

'description' => strip_tags($aData['description']),

You may replaceit with 

'description' => substr(strip_tags($aData['description']), 0, 150),

Note. This method is used to display Site's Snippet in the other places too. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 11 Apr 2012

Cool!! Now that I know which file handles it I can do some changes and make it look nice and clean.

I appreciate your help.

Thanks Anton.

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 11 Apr 2012
 
 
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.