[TYPO3] Disable Front End Page output

Dmitry Martynenko dima at realt.by
Fri Jun 6 16:50:54 CEST 2008


Hi Sancar,

SS> Probably I couldn't mean what I want. This TS config does produce blank page
SS> but does not send my front end plugin output and My Soultion was.

SS> echo  $content;
SS> die(''); // Premature ending for ajax output;
SS> #return $this->pi_wrapInBaseClass('');

SS> It works for me. But I don't have any idea if there where any side effects.

Use of eID recomended here!

But you can also do this:

page >
page = PAGE
page.config.disableAllHeaderCode = 1
page.10 < plugin.you_plugin_pi1

and in PHP code

# do not use this:
# echo  $content;
# die('');
# return $this->pi_wrapInBaseClass('');

# use this instead:
return $content;

-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list