cancel
Showing results for 
Search instead for 
Did you mean: 

FreeMarker template with WCM Content

akindo
Champ in-the-making
Champ in-the-making
Hi all. Well, this CMS seems good, been learning how to use it during the past few weeks.

We would like to use the FreeMarker templates containing just XHTML and the variables to import content from document nodes, such as ${document.content}. I have successfully applied a .ftl template to content stored in a space created in my user home, but cannot figure out how to apply it to content stored in a Web Project space. I am only allowed to apply XSL/XSD templates there. Is it not possible to use .ftl templates here (I don't want to use XML)?

Thanks for any help! Smiley Happy
2 REPLIES 2

shoshin
Champ in-the-making
Champ in-the-making
You can achieve the same in WCM space all you need to do is create a webform the content model should be XSD and template may be either
freemarker template or XSL according to your wish.So that it generates both XML as well as HTMl. Hope this clarifies you.

Shoshin

akindo
Champ in-the-making
Champ in-the-making
Great, thank you for your help! I think I couldn't choose .ftl because I hadn't created any .ftl templates. Cheers.