diff options
Diffstat (limited to 'views/default/dokuwiki/grouppage.php')
-rw-r--r-- | views/default/dokuwiki/grouppage.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/dokuwiki/grouppage.php b/views/default/dokuwiki/grouppage.php new file mode 100644 index 000000000..c5a342ac7 --- /dev/null +++ b/views/default/dokuwiki/grouppage.php @@ -0,0 +1,13 @@ +<?php + +$group = page_owner_entity(); +$offset = (int)get_input("offset",0); +if ($group->dokuwiki_enable == 'yes' && $group->dokuwiki_frontpage_enable == 'yes') { + echo '<div class="contentWrapper">'; + set_input("inline_page", true); + echo elggdokuwiki_page_handler(array($group->guid)); + echo '</div>'; + $count = elgg_get_entities(array('offset'=>$offset,'full_view'=>FALSE,'types'=>'group','container_guid'=>$group->getGUID(),'count'=>TRUE)); +} + +?> |