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

Sebastian Schreiber me at schreibersebastian.de
Wed Apr 18 15:11:49 CEST 2012


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/processed.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-typo3v4mvc
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


-- 
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



More information about the TYPO3-project-typo3v4mvc mailing list