You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You cannot define "sub layouts". In fact, if you set a layout using the $this->layout() method in a nested template it will actually overwrite the layout defined by it's parent.
Here is how I would tackle what your trying to do. In this situation aaa is your template, index is the layout, and bbb is the nested template.
<!-- index -->
<?=$this->content?><?=$this->subcontent?>
@mindyk, you may be interested to know that layout stacking (or sub layouts) are now possible in dev-master, coming soon to Plates version 2.0. See issue #10 for more details.
is this possible / intented, i am trying right now and get a blank page without erros )- :
expected output
The text was updated successfully, but these errors were encountered: