Difference between revisions of "Creating templates"
From OpenKM Documentation
(Created page with 'As you can see in the User Guide you can create new documents based on templates. But OpenKM offers another feature based in this idea. First of all you need to know the temp…') |
|||
Line 1: | Line 1: | ||
As you can see in the [[User Guide]] you can create new documents based on templates. But OpenKM offers another feature based in this idea. First of all you need to know the template syntax, which is used by the [http://freemarker.sourceforge.net/ FreeMarker Template Engine]. This engine can be used from making simply variable substitution to loops and other control structure. In this example we use only the basic ones, but you can learn more at [http://freemarker.sourceforge.net/docs/index.html FreeMarker Manual]. | As you can see in the [[User Guide]] you can create new documents based on templates. But OpenKM offers another feature based in this idea. First of all you need to know the template syntax, which is used by the [http://freemarker.sourceforge.net/ FreeMarker Template Engine]. This engine can be used from making simply variable substitution to loops and other control structure. In this example we use only the basic ones, but you can learn more at [http://freemarker.sourceforge.net/docs/index.html FreeMarker Manual]. | ||
+ | |||
+ | OpenKM can handle 3 types of template documents: | ||
+ | * [[Creating PDF templates|PDF]] | ||
+ | * [[Creating OpenOffice templates|OpenOffice]] | ||
+ | * [[Creating Text templates|Text]] (This includes other text-based like HTML, for example) |
Revision as of 09:56, 5 April 2011
As you can see in the User Guide you can create new documents based on templates. But OpenKM offers another feature based in this idea. First of all you need to know the template syntax, which is used by the FreeMarker Template Engine. This engine can be used from making simply variable substitution to loops and other control structure. In this example we use only the basic ones, but you can learn more at FreeMarker Manual.
OpenKM can handle 3 types of template documents:
- OpenOffice
- Text (This includes other text-based like HTML, for example)