Craig,
Read the documentation here:
http://www.e-smith.org/customunder 'Custom template Modifications'. Below is an example 'template' I have called 99xdb-money and placed in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
#---------------------------------------------
# xdb-money alias/config
#---------------------------------------------
Alias /money /opt/money
Options -Indexes
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php
#--------------------------------------------
# EOF
#--------------------------------------------
This template will alias the /opt/money dir to /money (webroot/money) allowing for web access to that directory i.e.
www.yourdomain.com/moneyAs it states in the documentation, once a template is created you must issue the command /sbin/e-smith/expand-template /path/to/templated/file. For the above template that would be:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
This 'expands' the template, applying the contents of your template fragment to the file you are editing/templating.
Read through the docs on this and you will begin to understand the templating system.
Craig Jensen