source: products/quintagroup.transmogrifier.pfm2pfg/trunk/quintagroup/transmogrifier/pfm2pfg/configure.zcml @ 1496

Last change on this file since 1496 was 1496, checked in by koval, 9 years ago

updated package to work with a lastest version of quintagroup.transmogrifier

File size: 1.6 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:zcml="http://namespaces.zope.org/zcml"
5    xmlns:transmogrifier="http://namespaces.plone.org/transmogrifier"
6    i18n_domain="quintagroup.transmogrifier.pfm2pfg">
7
8    <include package="quintagroup.transmogrifier" file="meta.zcml" />
9    <include package="quintagroup.transmogrifier" />
10
11    <configure zcml:condition="installed Products.PloneFormMailer">
12
13        <five:implements
14            class="Products.PloneFormMailer.PloneFormMailer.PloneFormMailer"
15            interface=".exporting.IPloneFormMailer"
16            />
17
18        <adapter
19            for=".exporting.IPloneFormMailer"
20            provides="quintagroup.transmogrifier.interfaces.IExportDataCorrector"
21            factory=".exporting.PloneFormMailerExporter"
22            name="marshall"
23            />
24
25    </configure>
26
27    <!-- comment next if you are running Plone 2.1.5 -->
28    <configure zcml:condition="installed Products.PloneFormGen">
29
30        <transmogrifier:stylesheet
31            source="marshall"
32            from="PloneFormMailer"
33            to="FormFolder"
34            file="formmailer-formfolder.xsl"
35            />
36
37        <transmogrifier:stylesheet
38            source="marshall"
39            from="PloneFormMailer"
40            to="FormMailerAdapter"
41            file="formmaileradapter.xsl"
42            />
43
44        <transmogrifier:stylesheet
45            source="marshall"
46            from="PloneFormMailer"
47            to="FormThanksPage"
48            file="formthankspage.xsl"
49            />
50
51        <include file="formgen.zcml" />
52
53    </configure>
54
55</configure>
Note: See TracBrowser for help on using the repository browser.