Skip to content

[BUG] \Phalcon\Mvc\View #1282

Closed
Closed
@ovr

Description

@ovr

Hi all)
I'm using layouts and modules structure
in one module feed IndexController in same logic I'm using to render in view

$view = $this->view;
$view->disableLevel(array(
\Phalcon\Mvc\View::LEVEL_LAYOUT => true,
\Phalcon\Mvc\View::LEVEL_MAIN_LAYOUT => true
));
$view->setRenderLevel(\Phalcon\Mvc\View::LEVEL_ACTION_VIEW);
echo $view->render('curation', 'index', array('render' => 'action'));

I'm also seeing 2 layouts but if I disable the view in curation controller and open it can't see layout only view

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug reportstaleStale issue - automatically closedstatus: mediumMedium

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions