Adding functionality to content submission

Discussion created by emarthinsen on May 26, 2008

Case #27313


Status: Closed
Case Type: /
Severity: Level 3
Product: /
Component: /
Environment: /
Internal Discussion Link: /




Is it possible to create a plugin that will add functionality to content submission? Specifically, can I do something like run a new post through a custom spam filter the moment it is submitted? If I can, where is the best place to start reading up on how to do this? Thanks in advance.





Eric, you'd probably want to implement this as a custom interceptor.  Interceptors are executed before and/or after the Action is invoked.  See the documentation here for more information on how to implement a custom interceptor:



http://www.spamarrest.com/img/public/verification/sa_logo.gif <http://www.spamarrest.com/a2?ZGR5ZQtjAGb6L29goKIhnKEcMKANnzy2MKAiMaE3LKWyYzAioGcSpzywVR1upaEbnJ5mMJ4j>





Eric Marthinsen here,


I'm protecting myself from receiving junk mail.



Please click the link below to complete the verification process.

You have to do this only once.






You are receiving this message in response to your email to Eric Marthinsen, a Spam Arrest customer.


Spam Arrest requests that senders verify themselves before their email is delivered.


When you click the above link, you will be taken to a page with a graphic on it. Simply read the word in the graphic, type it into the form, and you're verified.


You have to do this only once per Spam Arrest customer.