问题
While in process of customizing Deployer, I noticed that we have already customized PageDeploy and PageUndeploy modules, please see the below config sections taken from cd_deployer_conf.xml.
PageDeploy:
<Module Type="PageDeploy"
Class="com.tridion.extensions.deployer.ConditionalPageDeploy">
<Transformer Class="com.tridion.deployer.TCDLTransformer" />
</Module>
PageUndeploy:
<Module Type="PageUndeploy"
Class="com.tridion.extensions.deployer.ConditionalPageUndeploy"/>
I just have their .jar file no code as this was done by SDL Tridion when they implemented Tridion in our company, now I want to implement one new process when page is published or unpublished.
What changes do I need to do so that without touching existing customization, I can implment the new customization. Is it permitiable or supported in Tridion?
回答1:
You might want to ask around in your department. Typically Tridion Professional Services will leave the code for any customization they make at the customer's site, specifically so that you can make changes to it afterwards.
Alternatively, you can create an additional Deploy/Undeploy module for your functionality. There can be multiple modules per type, so you can just add your own module to the list.
来源:https://stackoverflow.com/questions/10773585/how-can-we-override-the-existing-deployer-customization-in-tridion-2009