Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
wcms-openscholar
uw_virtual_site_homepage
Commits
45959beb
Commit
45959beb
authored
Nov 25, 2016
by
Eric Bremner
Browse files
FDSU-1829: Adding in banner controls.
parent
35e95200
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
uw_virtual_site_homepage.features.field_instance.inc
uw_virtual_site_homepage.features.field_instance.inc
+1
-1
uw_virtual_site_homepage.module
uw_virtual_site_homepage.module
+4
-0
No files found.
uw_virtual_site_homepage.features.field_instance.inc
View file @
45959beb
...
...
@@ -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
,
),
...
...
uw_virtual_site_homepage.module
View file @
45959beb
...
...
@@ -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
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment