From 59774f1999752f941d48dcae43d53d4a6cc8c0c0 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 25 Jun 2011 20:27:02 -0400 Subject: one_column layout was not showing title and nav --- views/default/css/elements/layout.php | 3 --- views/default/page/layouts/one_column.php | 15 +++++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index a5854f8c1..9f028d8b5 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -75,9 +75,6 @@ .elgg-layout { min-height: 360px; } -.elgg-layout-one-column { - padding: 10px 0; -} .elgg-layout-one-sidebar { background: transparent url(_graphics/sidebar_background.gif) repeat-y right top; } diff --git a/views/default/page/layouts/one_column.php b/views/default/page/layouts/one_column.php index c59a574e7..7546a4cdf 100644 --- a/views/default/page/layouts/one_column.php +++ b/views/default/page/layouts/one_column.php @@ -13,11 +13,22 @@ $class = 'elgg-layout elgg-layout-one-column clearfix'; if (isset($vars['class'])) { $class = "$class {$vars['class']}"; } + +// navigation defaults to breadcrumbs +$nav = elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs')); + ?>
-
- +
-- cgit v1.2.3