Using templates from the database
Posted: Thu Feb 19, 2009 6:03 pm
Hello,
I am writing my own module. It's almost finished.
But know i want to add a tab so users can edit the template or add a template of there own. I tried, but i faild. Can someone help explain how i can get a template in to the database?
I think i know how i can get the template to show in the textarea in the admin panel and then to save the template after editting. Because i think that's nothing more then making a form.
But i am having trouble getting the template in to the database when the module gets installed.
I hope someone can give me a good explanation, because the information i found on this wbesite don't help me much.
Thanks.
Regards,
Bas
I am writing my own module. It's almost finished.
But know i want to add a tab so users can edit the template or add a template of there own. I tried, but i faild. Can someone help explain how i can get a template in to the database?
I think i know how i can get the template to show in the textarea in the admin panel and then to save the template after editting. Because i think that's nothing more then making a form.
But i am having trouble getting the template in to the database when the module gets installed.
I hope someone can give me a good explanation, because the information i found on this wbesite don't help me much.
Thanks.
Regards,
Bas