Koozali.org formerly Contribs.org

custom template problem


custom template problem
« on: March 14, 2004, 06:02:56 PM »

I've got a problem with the "expand-template" process because of the comment it add to the begining of the file it create.

The complete explication:
I've installed a Jabber 1.4 server on my e-smith 6 box. I got a DSL line and a dynamic IP. I want to use SSL with jabber so my external IP must be wrote in the config file. I then created a template. It works well exept that it puts some comments at the begining of the file and that jabber use an XML settings file and it MUST see "<jabber>" at the very begining of it. also the # char is not an acceptable comment in XML so I've got quite a problem with that.
E-smith 5 did not have this behaviour.

Is there a possibility to disable the adding of those comments?

PS: Nice idea to continue to dev e-smith. it's a great plateform. Congratulations for the efforts.


custom template problem
« Reply #1 on: March 14, 2004, 06:18:03 PM »
You can add an empty 'template-begin' fragment to the template. Doing 'touch /etc/e-smith/templates/etc/something.conf/template-begin' should do the trick.


custom template problem
« Reply #2 on: March 15, 2004, 10:57:06 AM »
it works!