Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->addWidget(GlobalModal::className());
     $this->addWidget(\humhub\modules\tour\widgets\Tour::className());
     $this->addWidget(\humhub\modules\admin\widgets\TrackingWidget::className());
     parent::init();
 }
Ejemplo n.º 2
0
?>
                </ul>

                <ul class="nav pull-right" id="search-menu-nav">
                    <?php 
echo \humhub\widgets\TopMenuRightStack::widget();
?>
                </ul>
            </div>
        </div>
    </div>

    <!-- end: second top navigation bar -->

    <?php 
echo \humhub\modules\tour\widgets\Tour::widget();
?>

    <!-- start: show content (and check, if exists a sublayout -->
    <?php 
if (isset($this->context->subLayout) && $this->context->subLayout != "") {
    ?>
        <?php 
    echo $this->render($this->context->subLayout, array('content' => $content));
    ?>
    <?php 
} else {
    ?>
        <?php 
    echo $content;
    ?>