Hi Rita, Just use Freemarker include (or JSP include). Example: /templates/main.ftl wants to include /templates/global/header.ftl
In main.ftl place: [#include "global/header.ftl" /] You can find a lot of example on STK. HTH, Matteo -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rita_ Sent: martedì, 3. novembre 2009 12:32 To: [email protected] Subject: [magnolia-user] Using content across templates (eg. headers/menu, footer) Hi, I would like to create "sub-templates" for the content that will be re-used across the home page and other pages such as the headers/menu and footer. This content is not meant for authoring. I tried using the <cms:includeTemplate /> as mentioned in the Wiki (http://wiki.magnolia-cms.com/display/WIKI/Reusing+content+on+different+pages). That didn't work for me for some reason nor the subTemplates property. How do I go about defining these "sub-templates" in the "templates definition" section (AdminCentral configuration module) i.e. the content nodes so that I can re-use them across all my pages? I believe that's my issue. Could I get please get some help on this? Thanks a lot. Cheers, Rita -- View this message in context: http://old.nabble.com/Using-content-across-templates-%28eg.-headers-menu%2C-footer%29-tp26160073p26160073.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
