Hi,

I have two freemarker templates available in my blossom module. I would like 
one to be the root template and the second for subpages, i.e.:

-root (template1)
|- subpage1 (template2)

When I access /root/subpage1.html, template2 is used to render the entire page. 
I assume this is expected (is it?) and that the STK has some custom template 
merging mechanism to render the entire page by embedding the output of 
template2 in template1.

Is there some standard mechanism for rendering subpages using their own 
template + content node from within another template? Or am I thinking along 
the wrong lines here or going against some best practice?

If this is a valid question, shouldn't this be mentioned in the templating 
documentation?

Thanks in advance,
Rade

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=2e7bd529-d051-4233-a60b-16ca7650f2eb


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to