[TYPO3-dev] triggers

R. van Twisk typo3 at rvt.dds.nl
Mon Jan 29 23:50:04 CET 2007


stefano cecere wrote:
> ciao Ries
>
> well i didn't really wanted to go deep into hooks...
> do you think it could be quite easy do develop an extension to give Triggers to everybody?
>   
hey Stefano,

like I said, everybody can create hooks fairly easy...
Just ask teh extensions owner to implement a hook at the place
you think it's best to have a hook.

Then a other extension can 'hook' into it and the a function
can get triggered at the point of code execution.


Ries
>
> stefano
>
> R. van Twisk wrote:
>   
>> stefano cecere wrote:
>>     
>>> i did search typo3 workd about "triggers" and found nothing!!
>>>
>>> nobody feels that some trigger functions would be good inside typo3?
>>>
>>> (yes i know i can write an ext that hooks TCE... etc..) but something 
>>> easier.
>>>
>>>
>>> i would see it like this:
>>>
>>> a trigger is an action (to be defined maybe quite like actions..
>>> (could be "call my ext function", or SQL query, or send email to BE 
>>> user..)
>>> and an event type (onCreate, onModify, onDelete, onMove ...)
>>>
>>> every page/content element can have a trigger selector.
>>>
>>>
>>> what do you think?
>>> stefano
>>>
>>>   
>>>       
>> Basically they are implemented as hook...
>>
>> However for some functions you need to ask core dev's or
>> extension developers to add the hook and the part you need.
>>
>>
>>
>> Ries
>>
>>     





More information about the TYPO3-dev mailing list