Including another Page content

Discussion in 'Templates customization' started by dazzafact, Jun 18, 2015.

  1. dazzafact

    dazzafact New Member

    Joined:
    May 19, 2015
    Messages:
    14
    Hello, i didnt find somethink about this topic:
    I need to include another Page call page1.phtml.
    I tryed to include it in page2.phtml using
    Code:
    <?php
    echo $this->render('page1.phtml');
    ?> 
    and another try
    PHP:
    <?php
    echo $this->render('page1.phtml');
    ?> 
    but this only include me the whole page of course not the specific content in the Layout
    Page1 looks like
    PHP:
    <?php
    $this
    ->setLayout('layout.phtml');
    ?>
    <style>

    #qfauto-2{
        display:none;

    }
    ....
    of course it is necessary to render the Controller of page1 also in page2

Share This Page