slick.tpl.php in Slick Carousel 7
Default views template for displaying a Slick carousel.
- $view: The View object.
- $options: Settings for the active style.
- $rows: The rows output from the View.
- $title: The title of this group of rows. May be empty.
File
theme/slick.tpl.phpView source
<?php
/**
* @file
* Default views template for displaying a Slick carousel.
*
* - $view: The View object.
* - $options: Settings for the active style.
* - $rows: The rows output from the View.
* - $title: The title of this group of rows. May be empty.
*
* @ingroup views_templates
*/
?>
<div class="<?php
print $classes;
?>" <?php
print $attributes;
?>>
<?php
foreach ($rows as $index => $row) {
?>
<div class="<?php
print $row_classes[$index];
?>">
<?php
print $row;
?>
</div>
<?php
}
?>
</div>