Hi!
Please help me to solve problem with main layout file rendered twice.
I have /views/base.html as Main Layout wich I set using $view->setMainView('base'); Also I have /views/signin/login.html
Base.html is:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
...
</head>
<body>
<?php echo $this->getContent() ?>
</body>
</html>
login.html is:
<form>
LOGIN FORM HERE
</form>
When I use "pick" everything seems to be fine.
$this->view->pick('signin/login');
But if automatic mode base.html rendered twice. I tried to Google for 3 hours with no success :(
Thank in advance!