Line 2: |
Line 2: |
| | | |
| === NAME === | | === NAME === |
− | esmith::template - Utilities for e-smith server and gateway development | + | esmith::template - Utilities for e-smith server and gateway development<br /> |
| + | |
| In a root terminal you can do the command below if you want to display the up-to-date content | | In a root terminal you can do the command below if you want to display the up-to-date content |
| perldoc esmith::templates | | perldoc esmith::templates |
Line 49: |
Line 50: |
| TEMPLATE_PATH => $output_file | | TEMPLATE_PATH => $output_file |
| }); | | }); |
− | | + | |
| $filled_in_template = processTemplate({ CONFREF => \%config, | | $filled_in_template = processTemplate({ CONFREF => \%config, |
| TEMPLATE_PATH => $output_file | | TEMPLATE_PATH => $output_file |
Line 79: |
Line 80: |
| Full path to the file which fill result from this template. | | Full path to the file which fill result from this template. |
| For example, ’/etc/hosts’. | | For example, ’/etc/hosts’. |
| + | TEMPLATE_PATH="/etc/motd" |
| | | |
| ===== TEMPLATE_EXPAND_QUEUE ===== | | ===== TEMPLATE_EXPAND_QUEUE ===== |
Line 186: |
Line 188: |
| | | |
| === SEE ALSO === | | === SEE ALSO === |
− | [[SME_Server:Documentation:Developers_Manual#Configuration_file_templates| Templated Configuration System]] | + | [[SME_Server:Documentation:Developers_Manual#Configuration_file_templates| Templated Configuration System]]<br /> |
| + | |
| + | [http://wiki.contribs.org/Text::Template Text::Template] |
| | | |
| === AUTHOR === | | === AUTHOR === |
Line 192: |
Line 196: |
| For more information, see http://www.e-smith.org/ | | For more information, see http://www.e-smith.org/ |
| | | |
− | [[Category:Howto]]
| + | |
| [[Category:SME Server Development Framework]] | | [[Category:SME Server Development Framework]] |
| [[Category:Development Tools]] | | [[Category:Development Tools]] |
− | [[Category:SME9-Development]]
| |