Commit ee84b5c9 authored by l26yan's avatar l26yan
Browse files

ISTWCMS-2636 Display location field

parent 7e97e6a4
......@@ -107,9 +107,9 @@
<?php
print render($content['field_event_date']);
print render($content['title_field']);
if (!empty($content['body']['#items'][0])) {
if (!empty($content['body']['#items'][0])):
$content['body'][0]['#markup'] = uw_ct_web_page_filter_summary($content['body']['#items'][0]);
}
endif;
hide($content['title_field']);
hide($content['field_blog_date']);
print render($content);
......@@ -121,11 +121,13 @@
<div class="details">
<?php
// We hide the comments and links now so that we can render them later.
// Hide the comments and links now so that render them later.
hide($content['comments']);
hide($content['links']);
hide($content['field_event_location']);
print render($content);
?>
?>
<?php print render($content['field_event_location']); ?>
</div>
<?php endif; ?>
</div>
......
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