Hi Xavier, You can also define config.server.rendering.freemarker.templateLoaders.workspace to load the ftl's from your local project during development:
Bootstrap config.server.rendering.freemarker.templateLoaders.workspace.xml : <?xml version="1.0" encoding="UTF-8"?> <sv:node sv:name="workspace" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:contentNode</sv:value> </sv:property> <sv:property sv:name="jcr:mixinTypes" sv:type="Name"> <sv:value>mix:lockable</sv:value> </sv:property> <sv:property sv:name="jcr:uuid" sv:type="String"> <sv:value>8cd4dd84-ba83-43f7-8747-a2477767fb1e</sv:value> </sv:property> <sv:property sv:name="basePath" sv:type="String"> <sv:value>C:\your-magnolia-project\src\main\resources</sv:value> </sv:property> <sv:property sv:name="class" sv:type="String"> <sv:value>info.magnolia.freemarker.loaders.LazyFileTemplateLoader</sv:value> </sv:property> <sv:node sv:name="MetaData"> <sv:property sv:name="jcr:primaryType" sv:type="Name"> <sv:value>mgnl:metaData</sv:value> </sv:property> <sv:property sv:name="mgnl:authorid" sv:type="String"> <sv:value>superuser</sv:value> </sv:property> <sv:property sv:name="mgnl:creationdate" sv:type="Date"> <sv:value>2009-10-09T15:03:44.164+02:00</sv:value> </sv:property> <sv:property sv:name="mgnl:lastmodified" sv:type="Date"> <sv:value>2010-04-13T15:10:21.923+02:00</sv:value> </sv:property> </sv:node> </sv:node> Obviously, adapt the basePath variable to match your project/platform. Cheers, Kees ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
