Commit 16f2cd63 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4980: updating page template to use new api site footer logos

parent 5a65fd1a
......@@ -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 { ?>
......
Supports Markdown
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