Skip to content
Snippets Groups Projects
Commit cff67523 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5195: fixing display title

parent 44e864b5
No related branches found
No related tags found
1 merge request!172Feature/istwcms 5128 ebremner theme node services
......@@ -120,7 +120,7 @@ class UwNodeContent {
$node_flags['get_footer'] = FALSE;
$node_flags['get_image'] = FALSE;
$node_flags['get_content'] = FALSE;
$node_flags['get_title'] = TRUE;
$node_flags['get_title'] = FALSE;
$node_flags['get_hero'] = FALSE;
$node_flags['get_listing_image'] = FALSE;
......@@ -131,11 +131,8 @@ class UwNodeContent {
$node_flags['get_content'] = TRUE;
if ($view_mode == 'full') {
$node_flags['get_title'] = TRUE;
$node_flags['get_hero'] = TRUE;
if (in_array($node->getType(), array_keys($hero_image))) {
$node_flags['get_title'] = FALSE;
}
}
elseif ($view_mode == 'teaser') {
$node_flags['get_footer'] = FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment