I'm using {% block content %} and a main layout file.
When using live preview the "entire" frame isn't shown (including layout files).
Is there an easy way to get the whole template in?
I'm using {% block content %} and a main layout file.
When using live preview the "entire" frame isn't shown (including layout files).
Is there an easy way to get the whole template in?
{% block content %}{% endblock %}
and in the pages folder i got the corresponding pages i.e. _news.html which have all content inside
{% block content %} content goes here {% endblock %}
– nexflo Sep 04 '14 at 13:33I created a pages/_entry.html which loads all the subpages according to some variables...
{% extends "_layout" %}
{% block content %}
{% endblock %}
Could it be that craft loads the page directly...and not the way its loaded in the frontend? That way the extend of layout is no longer visible. Guess i could check in every template if its a preview and extend again from _layout
– nexflo Sep 09 '14 at 08:32