This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

contact12663
contact12663

I was trying to extends a layout (for exemple a blog layout) to have a basic reference layout (which keep some common rules) but when I try to add : {% extends "default" %} (or absolute path in spite of 'default') I obtain this : "Maximum function nesting level of '300' reached, aborting!" (I don't put stack beacause it's easy to reproduct).

There is a way, a syntax or any type of magic I can use to have what I expect ? Usually I use Symfony2 (which use basically Twig too) and I never had this problem.

Sean Schricker
Sean Schricker

I'm super new to October, but I at least found this little rock to possibly bludgeon your dreams with:

At the bottom of https://octobercms.com/docs/markup/templating it says October doesn't support Twig's {% extend %}

grawl
grawl

I am trying to do the same. I have a lot in PHP section for all pages, and I want to create different design for some pages.

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.