Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hbic Friend
    #680302

    I am using Application. I want to show article information when certain menu links are selected.

    I created a copy of my template and assigned the ‘default’ layout to it because it includes the ‘component’ panel. This panel also included ‘ach-header’ in the layout. When I assign the template copy with the ‘default’ layout the Header does not appear. I need the same header and footer on all my pages.

    It would be great if Uber included a layout that includes ach-header, app-home, component, message and ach-footer to make it easy to show an article template. It seems that this should be easier, am I missing something?

    Saguaros Moderator
    #680389

    Hi hbic,

    So you want to have the component block in the ‘home’ layout, right?

    You can simply open the layout file of ‘home’ layout: /root/templates/uber/tpls/home-app.php

    then call the ‘component’ block into this layout, it will look like this: http://prntscr.com/89r9tr


    <body class="home-app">

    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('home') ?>

    <div class="container">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>

    <?php $this->loadBlock('footer') ?>

    </div>

    </body>

    Saguaros Moderator
    #746875

    Hi hbic,

    So you want to have the component block in the ‘home’ layout, right?

    You can simply open the layout file of ‘home’ layout: /root/templates/uber/tpls/home-app.php

    then call the ‘component’ block into this layout, it will look like this: http://prntscr.com/89r9tr


    <body class="home-app">

    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('home') ?>

    <div class="container">
    <?php if($this->hasMessage()) : ?>
    <jdoc:include type="message" />
    <?php endif ?>
    <jdoc:include type="component" />
    </div>

    <?php $this->loadBlock('footer') ?>

    </div>

    </body>

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Saguaros 9 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum