flexslider-container.tpl.php in Flex Slider 7
Default output for a Flex Slider node.
2 theme calls to flexslider-container.tpl.php
- flexslider_fields_field_formatter_view in flexslider_fields/
flexslider_fields.module - Implements hook_field_formatter_view().
- theme_views_view_flexslider in flexslider_views/
theme/ flexslider_views.theme.inc - Defines theme_views_view_flexslider().
File
theme/flexslider-container.tpl.phpView source
<?php
/**
* @file
* Default output for a Flex Slider node.
*/
?>
<div class="flex-nav-container">
<div class="flexslider-content flexslider clearfix" id="flexslider-<?php
print $id;
?>">
<ul class="slides">
<?php
foreach ($items as $item) {
?>
<li>
<?php
if (isset($item['#item']['image'])) {
print $item['#item']['image'];
}
else {
print render($item);
}
?>
<?php
if (isset($item['#item']['title']) || isset($item['#item']['alt'])) {
?>
<div class="flex-caption">
<?php
if (!empty($item['#item']['title'])) {
?>
<strong><?php
print $item['#item']['title'];
?></strong>
<?php
}
?>
</div>
<?php
}
?>
</li>
<?php
}
?>
</ul>
</div>
</div>