[Neos] Hook on publishing pages

Aske Ertmann aske at moc.net
Tue Jun 9 23:21:29 CEST 2015


Hi Jan

I have an example of that here
https://github.com/mocdk/MOC.Varnish/blob/master/Classes/MOC/Varnish/Package.php#L16

Also there are similar ones in the TYPO3.Neos package like
https://git.typo3.org/Packages/TYPO3.Neos.git/blob/HEAD:/Classes/TYPO3/Neos/Package.php#l75

Cheers,
Aske

On Tue, Jun 9, 2015 at 5:46 PM, Dmitri Pisarev <dimaip at gmail.com> wrote:

> Hey Jan! I do not have the precise answer, but you have two options:
> 1. Look for related signal
> <
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/SignalsAndSlots.html
> >
> in the source code.
> 2. If it doesn't exist, use AOP
> <
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/AspectOrientedProgramming.html
> >
> .
>
> On Tue, 9 Jun 2015 at 17:46 Jan Syring-Lingenfelder <t3-neos at jan-sl.de>
> wrote:
>
> > Hi folks,
> >
> > Is there any way I can call a script or a specific action when new pages
> > are published? In particular, I want to do a HTTP POST when pages of a
> > specific NodeType are published.
> >
> > Any thoughts?
> >
> > --
> > warm regards,
> > Jan Syring-Lingenfelder
> > _______________________________________________
> > Neos mailing list
> > Neos at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
> >
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos
>



-- 
Venlig hilsen Aske

Webudvikler, team lead
MOC A/S
4692 3435 / 4333 2200
moc.net


More information about the Neos mailing list