[TYPO3-mvc] Referencing a PHP file, using Extbase
Robert Schneider
r.schneider at artworx.at
Wed Aug 1 16:52:28 CEST 2012
Ah, I didn't know about $this->response->setHeader(...). This is the
key, I think.
With my solution I think I get also a security issue, since the script
could be called without from anywhere if one knows the path to the php
file. I already thought about making some checks, but didn't know how.
Now, with the Extbase solution this shouldn't be a problem, I guess.
But the ViewHelper stuff is not really necessary, right? I can keep it
simpler, if I get it right.
Thank you for bringing to the right direction.
Robert
> Oh, maybe you also need to get rid of all HTML markup that TYPO3 generate.
> To do that, use pageType.
>
> 1. Use TypoScript to declare a pageType which is totally blank:
> https://github.com/Ecodev/newsletter/blob/1.3.0/Configuration/TypoScript/setup.txt#L74
> 2. Load TypoScript automatically:
> https://github.com/Ecodev/newsletter/blob/1.3.0/ext_localconf.php#L6
> 3. And finally include &type=1342671779 in your URL
>
More information about the TYPO3-project-typo3v4mvc
mailing list