Featured video on Homepage

Hi,

in Pagebuilder I can choose Public Videos for the Homepage. However, in Public Videos I only get Latest and Top Video.

How do I get Featured Video there as there are for Articles, Blogs, Events?

I've seen suggestions on the forum to manually creating a standalone block and embed videos that way. Would rather see that I could use Video same way as the other mods.

Any help on this is appreciated.

Homepage - Public Video.jpg · 297.1K · 149 views
7.1 My favorite number
Quote · 25 Aug 2013

Maybe you could use deanos tools and copy the 'featured videos' from videos main page to the index page ...

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Aug 2013

Use deanos tool to create a new php block  and then use this code for that block:

 

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 · 25 Aug 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.