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_os_basetheme
Commits
16f2cd63
Commit
16f2cd63
authored
Sep 22, 2021
by
Eric Bremner
Browse files
ISTWCMS-4980: updating page template to use new api site footer logos
parent
5a65fd1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
templates/page.tpl.php
templates/page.tpl.php
+6
-1
No files found.
templates/page.tpl.php
View file @
16f2cd63
...
...
@@ -543,7 +543,12 @@
<?php
if
(
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
0
][
'#markup'
]
!==
"Other"
)
{
?>
<?php
print
'<img src="'
.
base_path
()
.
drupal_get_path
(
'module'
,
'uw_virtual_site_homepage'
)
.
'/logos/'
.
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
'#items'
][
0
][
'value'
]
.
'.png">'
;
?>
<?php
$url
=
'uw-logos-site-footer/'
.
$page
[
'uw-virtual-site-homepage'
][
'field_uw_faculty_list_logo'
][
0
][
'#markup'
];
$site_footer_info
=
_uw_virtual_site_homepage_get_request
(
$url
);
print
'<img src="'
.
$site_footer_info
[
0
][
'site_footer_logo'
][
'src'
]
.
'" alt="'
.
$site_footer_info
[
0
][
'site_footer_logo'
][
'alt'
]
.
'" />'
;
?>
<?php
}
else
{
?>
...
...
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