aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 18:56:58 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 18:56:58 +0000
commit193fc7fd52fbb6df2417749d693447066c5baf12 (patch)
tree3ba94ea91744b56992d330e20b52e0c909811f2a /mod/groups/views/default
parent8bf0f9eeffdc7accc2dd4b5113399f5054b31204 (diff)
downloadelgg-193fc7fd52fbb6df2417749d693447066c5baf12.tar.gz
elgg-193fc7fd52fbb6df2417749d693447066c5baf12.tar.bz2
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
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/groups/css.php22
-rw-r--r--mod/groups/views/default/groups/profileitems.php18
2 files changed, 37 insertions, 3 deletions
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 "<div class='group_profile forum_latest clearfloat'>";
echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
echo "</div>";
-
+/*
//right column
echo "<div class='group_profile_column right'>";
echo elgg_view("groups/right_column",array('entity' => $vars['entity']));
@@ -23,6 +23,18 @@
//left column
echo "<div class='group_profile_column left'>";
echo elgg_view("groups/left_column",array('entity' => $vars['entity']));
- echo "</div>";
+ echo "</div>";
+*/
-?> \ No newline at end of file
+ // tools widget area
+ echo "<div id='group_tools_latest' class='clearfloat'>";
+ echo "<div class='group_tool_widget'><h3>Dummy Placeholder Group Tool Widget</h3></div>"; //test
+ echo elgg_view("groups/tool_latest",array('entity' => $vars['entity']));
+ echo "<div class='group_tool_widget'><h3>Another Placeholder for testing</h3></div>"; //test
+ echo "</div>";
+?>
+<script type="text/javascript">
+$(document).ready(function () { // subclass every other group tool widget
+ $('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd');
+});
+</script>