Commit 45959beb authored by Eric Bremner's avatar Eric Bremner
Browse files

FDSU-1829: Adding in banner controls.

parent 35e95200
......@@ -304,7 +304,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'title_field' => 1,
'title_field_required' => 0,
'user_register_form' => FALSE,
),
......
......@@ -54,6 +54,10 @@ function uw_virtual_site_homepage_page_alter(&$page) {
$html .= '<span class="banner-caption">' . $page['uw-virtual-site-homepage']['field_uw_home_page_banners'][$index]['#item']['title'] . '</span>';
}
}
$html .= '<div class="banner-controls">';
$html .= '<button id="previous_banner" class="tabs-previous"><</button>';
$html .= '<button id="next_banner" class="tabs-next">></button>';
$html .= '</div>';
$html .= '</figure>';
$index++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment