From 193fc7fd52fbb6df2417749d693447066c5baf12 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 30 Mar 2010 18:56:58 +0000 Subject: Added the beginnings of a new method for displaying the latest content from each tool on a groups profile page. git-svn-id: http://code.elgg.org/elgg/trunk@5554 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/css.php | 22 ++++++++++++++++++++++ mod/groups/views/default/groups/profileitems.php | 18 +++++++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) (limited to 'mod/groups/views/default/groups') diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index d4fac1b22..3bb551035 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -98,6 +98,27 @@ border-bottom:1px solid #CCCCCC; padding-bottom:5px; } + +/* tool content boxes on group profile page */ +#group_tools_latest { + min-height: 300px; + margin-top:20px; +} +.group_tool_widget { + float:left; + margin-right:30px; + margin-bottom:20px; + min-height:200px; + width:350px; +} +.group_tool_widget.odd { + margin-right:0; +} +.group_tool_widget h3 { + border-bottom:1px solid #CCCCCC; + padding-bottom:5px; +} +/* .group_profile_column.right { float:right; width:350px; @@ -108,6 +129,7 @@ float:left; margin-top:20px; } +*/ /* edit group page */ .delete_group { float: right; diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php index 2050ae941..f3805ed70 100644 --- a/mod/groups/views/default/groups/profileitems.php +++ b/mod/groups/views/default/groups/profileitems.php @@ -14,7 +14,7 @@ echo "
"; echo elgg_view("groups/forum_latest",array('entity' => $vars['entity'])); echo "
"; - +/* //right column echo "
"; echo elgg_view("groups/right_column",array('entity' => $vars['entity'])); @@ -23,6 +23,18 @@ //left column echo "
"; echo elgg_view("groups/left_column",array('entity' => $vars['entity'])); - echo "
"; + echo "
"; +*/ -?> \ No newline at end of file + // tools widget area + echo "
"; + echo "

Dummy Placeholder Group Tool Widget

"; //test + echo elgg_view("groups/tool_latest",array('entity' => $vars['entity'])); + echo "

Another Placeholder for testing

"; //test + echo "
"; +?> + -- cgit v1.2.3