[TYPO3-english] hide/unhide hook or similar

* k-do * kdokdo at gmail.com
Thu Nov 5 14:54:05 CET 2009


Thank you for your help!

I have another question... how can I debug what I'm doing inside that
function? echo, var_dump, javascript alerts, nothing works

2009/11/5 Steffen Müller <typo3 at t3node.com>

> Hi.
>
> On 05.11.2009 11:12 * k-do * wrote:
> > I would like to know how could I call a function or piece of code
> everytime
> > a concrete type of content is unhided.
>
> processDatamap_postProcessFieldArray($status, $table, $id, &$fieldArray,
> &$this) in tcemain.
> Check if $status is 'update' and if there's a key 'hidden' in $fieldArray.
> $table und $uid allow you to check against any criteria of content type.
>
> http://typo3.org/development/articles/how-to-use-existing-hooks/
>
> --
> cheers,
> Steffen
>
> TYPO3 Blog: http://www.t3node.com/
> Blubber on Twitter: http://twitter.com/t3node
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list