[TYPO3-english] hide/unhide hook or similar
Steffen Müller
typo3 at t3node.com
Thu Nov 5 13:06:46 CET 2009
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
More information about the TYPO3-english
mailing list