[TYPO3-dev] how to suppress edit panels for non-HTML views?

Philipp Gampe phil at philippgampe.info
Mon Dec 21 13:44:44 CET 2009


Am 21.12.2009, 11:10 Uhr, schrieb Martin Kutschker  
<masi-no at spam-typo3.org>:

> Hi!
>
> My problem is that these properties are set in index_ts.php:
>
> $TSFE->displayEditIcons
> $TSFE->displayFieldEditIcons
>
> But that's it. I have no prgrammatically way to disable them in certain  
> situations or for specific
> page types. Yet again I run into the problem that my non-HTML content  
> (or HTML-for-PDF-conversion
> content) is garbled.
>
> The only hook I found that comes between initialization and the  
> rendering is the data submission
> hook. Not really satisfactory. Any ideas?
>
> Masi

just a random guess... you did check (page.)config.admPanel(.edit) = 0

Cheers
Phil


-- 
Philipp Gampe
http://www.philippgampe.info




More information about the TYPO3-dev mailing list