diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/n1_theme/header.php | 11 | ||||
-rw-r--r-- | views/default/n1_theme/landing.php | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/views/default/n1_theme/header.php b/views/default/n1_theme/header.php new file mode 100644 index 0000000..5939df8 --- /dev/null +++ b/views/default/n1_theme/header.php @@ -0,0 +1,11 @@ +<?php + +$context = elgg_get_context(); + +$title = $vars['title']; + +if ($context === 'main' && $title == elgg_echo('content:latest')) { + + echo elgg_view('n1_theme/landing'); + +} diff --git a/views/default/n1_theme/landing.php b/views/default/n1_theme/landing.php index 83132a9..132b275 100644 --- a/views/default/n1_theme/landing.php +++ b/views/default/n1_theme/landing.php @@ -1,5 +1,7 @@ <?php +elgg_load_css('n1:landing_page'); + $title = elgg_echo('n1_theme:landing:title'); $subtitle = elgg_echo('n1_theme:landing:subtitle'); |