Featured Videos on Homepage

1. Create a php block with the name "Featured Photos" on homepage  with deanos tools.

2. Add the following code in it

require_once(BX_DIRECTORY_PATH_MODULES . 'boonex/videos/classes/BxVideosSearch.php');

$this->oSearch = new BxVideosSearch();

$this->oSearch->aCurrent['restriction']['featured'] = array(

            'field' => 'Featured',

            'value' => '',

            'operator' => '=',

            'paramName' => 'featured'

        );

    $this->oSearch->aConstants['linksTempl']['featured'] = 'browse/featured';

        $aCustom = array(

        'per_page' => '8',

        'menu_bottom_type' => 'featured',

'wrapper_class' => 'result_block'

    );

        $aCode = $this->oSearch->getBrowseBlock(array('featured' => 1, 'allow_view' => $this->aVisible), $aCustom);

    if ($this->oSearch->aCurrent['paginate']['totalNum'] > 0)

return array($aCode['code'], $aCode['menu_top'], $aCode['menu_bottom'], '');

Quote · 11 Sep 2013

I tried this but it didnt work.

Quote · 12 Sep 2013

I tried this but it didnt work.

Quote · 12 Sep 2013

I tried this but it didnt work.

Quote · 12 Sep 2013

I tried this but it didnt work.

Quote · 12 Sep 2013

This is how I did it. Maybe it doesn't work for everyone.

Quote · 13 Sep 2013

This work for me and THANK YOU very much.

This should be standart in dolphin !!!

Quote · 31 Jan 2014
 
 
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.