[TYPO3-dev] page only for callback script

Christopher Torgalson bedlamhotel at gmail.com
Thu Oct 22 20:03:00 CEST 2009


Hi Franz,

On Thu, Oct 22, 2009 at 10:52 AM, Franz Holzinger <franz at ttproducts.de> wrote:
> Hello,
>
> how can I generate a page, which has not HTML output at all? I want to
> insert an extension plugin for doing PHP script only and making no output.
> This PHP script, which is inside of a TYPO3 extension, shall do internal
> data storing and sending emails only. It is called from a gateway. Therefore
> it shall have no output on the screen.
>
> I have generated a new page and overwrote the template:
>
> page = PAGE
> page.typeNum = 0
>
> But it still has HTML output with an empty body. How can I turn off the
> output completely?


Add "config.disableAllHeaderCode = 1" to an extension template or a
condition and nothing at all will be output.

http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/7/#id4324729


-- 
Christopher Torgalson
http://www.typo3apprentice.com/




More information about the TYPO3-dev mailing list