Upcoming Videos display (bootstrap only)

Posted on Wed, 30 March 2016


Use this snippet to add an Upcoming Videos section to your Homepage. Your site must be using the bootstrap template (See SETUP>CONFIGURE>Stylesheet)

1. Open the Homepage template file
(SETUP>TEMPLATE>Homepage)

2. Add this code snippet in the Homepage template where you want it displayed. We suggest adding it right above the code that says "// latest videos".

// future videos
$sort='future';
$perrow=4;
$paginationLength=4;
$hidePagination=1;
//$sort='model|'.$id; // uncomment for use on model profile

$getVideosList=bootstrap_listVideos($sort,$p,$tag,$permlevel);

if($getVideosList)
{

$mainBody.="
<div class='row'>
<div class='col-lg-12'>
<h2 class='page-header'>Upcoming Videos</h2>
</div>
</div>";
$mainBody.=$getVideosList;

}
unset($getVideosList);


The Homepage display should look like this:


Tag cloud

cms tutorials design
Right column custom page. You can add anything you want here or disable it. This page displays on 2-column and 3-column Bootstrap layouts.