/** * Render content to group template * * @param string */ public function render() { // get the scope $scope = isset($this->params->scope) ? $this->params->scope : 'main'; // based on which scope display content switch ($scope) { case 'before': return View::displayBeforeSectionsContent($this->group); break; default: return $this->content; } }
<dt><?php echo Lang::txt('COM_GROUPS_INFO_CREATED'); ?> </dt> <dd><?php echo $created; ?> </dd> <?php } ?> </dl> </header> <?php echo \Components\Groups\Helpers\View::displayBeforeSectionsContent($this->group); ?> <div class="innerwrap"> <div id="page_container"> <div id="page_sidebar"> <div id="page_identity"> <a href="<?php echo $link; ?> " title="<?php echo Lang::txt('COM_GROUPS_OVERVIEW_HOME', $this->group->get('description')); ?> "> <img src="<?php echo $this->group->getLogo();