<div dir="auto">Hi Clement,<div dir="auto"><br><div dir="auto">I'd say go with #1, but in any case, I'd recommend checking out (module) action classes:</div><div dir="auto"><a href="http://www.opencms-wiki.org/wiki/Action_classes">http://www.opencms-wiki.org/wiki/Action_classes</a><br></div><div dir="auto"><br></div><div dir="auto">In an action class, you can hook into system events—in your case probably I_CmsEventListener.EVENT_RESOURCE_MODIFIED</div><div dir="auto"><br></div><div dir="auto">Because they're implemented in modules, action classes provide a clean and "pluggable" (=easy to enable/disable) way to handle requirements like yours.</div><div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-family:sans-serif">Good luck :) </div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Cheers,</div><div dir="auto" style="font-family:sans-serif">Paul</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">18. apr. 2017 6.42 p.m. skrev "Clement Wee" <<a href="mailto:clement@elixirtech.com">clement@elixirtech.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<br><br>Is it possible for me to do one of either of these two actions in OpenCMS:-<br><br>(1) Save content to a third-party database when the user clicks on the save button in the content editor?<br><br>(2) Save the content to another folder in RFS according to page url and element id and something extra denoting where the content occurs in the page?<br><br>I need to do one of these things for a client, and have no idea where to start.<br><br>Regards,<div>Clement<br>Singapore<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 6:00 PM, <span dir="ltr"><<a href="mailto:opencms-dev-request@opencms.org" target="_blank">opencms-dev-request@opencms.<wbr>org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send opencms-dev mailing list submissions to<br>
<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-b<wbr>in/mailman/listinfo/opencms-de<wbr>v</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:opencms-dev-request@opencms.org" target="_blank">opencms-dev-request@opencms.or<wbr>g</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:opencms-dev-owner@opencms.org" target="_blank">opencms-dev-owner@opencms.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Adding Function to ADE-Edit-Bar (Patric Dosch)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Tue, 18 Apr 2017 01:56:08 -0700 (MST)<br>
From: Patric Dosch <<a href="mailto:patric.dosch@virtual-identity.com" target="_blank">patric.dosch@virtual-identity<wbr>.com</a>><br>
To: <a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] Adding Function to ADE-Edit-Bar<br>
Message-ID: <<a href="mailto:1492505768774-26826.post@n3.nabble.com" target="_blank">1492505768774-26826.post@n3.n<wbr>abble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hey list, I need to add a new Icon - with functionality :) - to the<br>
ADE-Edit-Bar.<br>
<<a href="http://opencms.996256.n3.nabble.com/file/n26826/ade-edit-bar.png" rel="noreferrer" target="_blank">http://opencms.996256.n3.nabb<wbr>le.com/file/n26826/ade-edit-<wbr>bar.png</a>><br>
<br>
<br>
Is this possible via an extension like adding context menu items<br>
<<a href="http://documentation.opencms.org/opencms-documentation/extending-opencms/adding-context-menu-items-in-the-explorer/" rel="noreferrer" target="_blank">http://documentation.opencms.<wbr>org/opencms-documentation/exte<wbr>nding-opencms/adding-context-<wbr>menu-items-in-the-explorer/</a>><br>
?<br>
<br>
Probably the appropriate place must be patched.<br>
Has anyone ever done and knows where I can insert my functionality.<br>
<br>
Regards, Patric<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://opencms.996256.n3.nabble.com/Adding-Function-to-ADE-Edit-Bar-tp26826.html" rel="noreferrer" target="_blank">http://opencms.996256.n3.nabbl<wbr>e.com/Adding-Function-to-ADE-<wbr>Edit-Bar-tp26826.html</a><br>
Sent from the OpenCMS mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-b<wbr>in/mailman/listinfo/opencms-de<wbr>v</a><br>
<br>
End of opencms-dev Digest, Vol 285, Issue 1<br>
******************************<wbr>*************<br>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>