
i've integrated a file myemail.txt into the template and it is correctly installed
into my default template-set, let's call it "mytemplate".
in my mynewplugin.pm i have the following code to parse the myemail.txt -template and to replace some <%vars%>:
use GT::Template;
my $body = GT::Template->parse('verifymail_msg.txt', { error_msg => $msgerror , ID => $msgid , Title => $msgtitle , URL => $msgurl } );
(that's of course not the complete code)
The problem now is I always get an error :
GT::Template::Parser (12006): Unable to locate template file 'myemail.txt' in '/var/www/cgi-bin/xxx/admin/templates/default' or any inheritance directories at /var/www/cgi-bin/xxx/admin/GT/Template/Parser.pm line 100.
Does anyone knows what the problem is and how to get rid of this error (except of installing the myemail.txt into the "default"-template ??
Regards,
Manu
Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.