[TYPO3-mvc] backend-modul: sending mail -> template not found

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Wed Apr 18 15:44:51 CEST 2012


Hello Sebastian

Thanks for your answer. Not really the way I looked for, but a solution.

Thanks.
Johannes


-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Sebastian Schreiber
Gesendet: Mittwoch, 18. April 2012 15:12
An: TYPO3 v4 MVC project
Betreff: Re: [TYPO3-mvc] backend-modul: sending mail -> template not found

Hi Johannes,
try to use
t3lib_div::getFileAbsFilename('EXT:psoa_accredit/Resources/Private/Templates
/');

Should solve your problem.

Am 18.04.2012 15:10, schrieb Johannes C. Schulz - EnzephaloN IT-Solutions:
> Hello again
>
> Nobody an idea, how to set the templateRootPath correctly?
> The errormessage is:
> Template could not be found at
> "typo3conf/ext/psoa_accredit/Resources/Private/Templates/Backend/proce
> ssed.t
> xt".
> The constant-value for "templateRootPath" is:
> typo3conf/ext/psoa_accredit/Resources/Private/Templates/
> I also tried: "EXT:psoa_accredit/Resources/Private/Templates/" but 
> this also don't worked.
> I use "templateRootPath" for a standaloneViewhelper for sending 
> emails. This works fine in frontend, but not in backendmodule.
> Hope now someone can help me out!
> Best regards
> Johannes
>
>
> -----Ursprüngliche Nachricht-----
> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
> [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag 
> von Johannes C. Schulz - EnzephaloN IT-Solutions
> Gesendet: Mittwoch, 18. April 2012 09:21
> An: 'TYPO3 v4 MVC project'
> Betreff: [TYPO3-mvc] backend-modul: sending mail ->  template not 
> found
>
> Hello list!
> Second problem going online with my new extension.
> I wrote some actions for sending emails from the backend-module. Local 
> my extension worked, but online the template-file isn't found. I tried 
> the following codes:
>
> $templateRootPath = '../'.$this->settings['templateRootPath'];
> or
> $templateRootPath = $this->settings['templateRootPath'];
>
> But everytime a "not found" appears.
>
> How I have to assign the paths correctly in my backend-module??
>
> Best regards
> Johannes
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc


--
Sebastian Schreiber
(Medieninformatiker B.Sc.)
(TYPO3 Certified Integrator)

Schanzenstraße 27, Schlosserei 4
D-51063 Köln

T  0221 677 88 541
M  0176 431 05 790

Skype schreibersebastian.de

me at schreibersebastian.de
www.schreibersebastian.de

Steuernummer: 217 / 5269 / 4675

_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc




More information about the TYPO3-project-typo3v4mvc mailing list