header + footer templates for sub-pages

S Ahmed <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I want all my sub-pages to have a header + footer in them, without having to
put a header + footer in each and every view page.

The idea is that I can edit a single main template to edit the header and
footer, and the rest of the pages will be modified.

Is this possible?

Main Template will have:

Header
<<Content>>
Footer


Then each sub-page will inherit from the 'Main Template' and then my
sub-pages will only have to inject contents for the <<content>> area.

Is this possible?

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.