test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hvboek Friend
    #205920

    I am struggling with the template positions, especially for the frontpage.
    On one hand the configuration ‘features-intro’ has module positions I need, but articles won’t open if there is no ‘component’ module position.
    I think what I need is a combination of the configurations ‘features-intro’ and ‘blog-2’.
    How can I best achieve this? (Or make sure articles can be displayed).

    Saguaros Moderator
    #568760

    Hi @hvboek,

    If you take a look at the layout of ‘features-intro’ and ‘blog-2’, you will see that the ‘features-intro’ layout doesn’t contain the ‘mainbody’ block.

    Hence, you can add the ‘mainbody’ block into ‘features-intro’ layout to show component block content. To do this, you go to file: ROOT/templates/ja_sugite (your default template)/tpls/features-intro.php and add this line of code to desired position:

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

    For example:


    <div class="t3-wrapper features-intro features-intro-1">

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

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

    <?php $this->loadBlock('features-intro') ?>

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

    <?php $this->loadBlock('spotlight-1') ?>

    .............................................................

    Saguaros Moderator
    #733853

    Hi @hvboek,

    If you take a look at the layout of ‘features-intro’ and ‘blog-2’, you will see that the ‘features-intro’ layout doesn’t contain the ‘mainbody’ block.

    Hence, you can add the ‘mainbody’ block into ‘features-intro’ layout to show component block content. To do this, you go to file: ROOT/templates/ja_sugite (your default template)/tpls/features-intro.php and add this line of code to desired position:

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

    For example:


    <div class="t3-wrapper features-intro features-intro-1">

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

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

    <?php $this->loadBlock('features-intro') ?>

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

    <?php $this->loadBlock('spotlight-1') ?>

    .............................................................

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, 8 months ago.

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