Difference between revisions of "Creating templates"
From OpenKM Documentation
m |
|||
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]. | ||
+ | |||
+ | {{Warning|This section is under construction.}} | ||
OpenKM can handle 3 types of template documents: | OpenKM can handle 3 types of template documents: | ||
− | * [[Creating PDF templates|PDF]] | + | * [[Creating PDF templates|PDF]] [[File:Padlock.gif]] |
− | * [[Creating OpenOffice templates|OpenOffice]] | + | * [[Creating OpenOffice templates|OpenOffice]] [[File:Padlock.gif]] |
− | * [[Creating Text templates|Text]] (This includes other text-based like HTML, for example) | + | * [[Creating Text templates|Text]] [[File:Padlock.gif]] (This includes other text-based like HTML, for example) |
[[Category: Installation Guide]] | [[Category: Installation Guide]] |
Revision as of 10:03, 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.
This section is under construction. |
OpenKM can handle 3 types of template documents:
- OpenOffice
- Text (This includes other text-based like HTML, for example)