bugfix : pour obtenir l'url d'un brain, c'est getURL et non absolute_url
[Portfolio.git] / content.zcml
1 <configure
2 xmlns="http://namespaces.zope.org/zope"
3 xmlns:five="http://namespaces.zope.org/five">
4
5 <!-- Portfolio -->
6
7 <five:registerClass
8 class=".container.Portfolio"
9 meta_type="Portfolio"
10 permission="cmf.AddPortalContent"
11 />
12
13 <utility
14 component=".container.PortfolioFactory"
15 name="portfolio.portfolio"
16 />
17
18 <five:registerClass
19 class=".photo.Photo"
20 meta_type="Photo"
21 permission="cmf.AddPortalContent"
22 />
23
24 <utility
25 component=".photo.PhotoFactory"
26 name="portfolio.photo"
27 />
28 <five:registerClass
29 class=".lightbox.Lightbox"
30 meta_type="Lightbox"
31 permission="portfolio.AddLightbox"
32 />
33
34 <utility
35 component=".lightbox.LightboxFactory"
36 name="portfolio.lightbox"
37 />
38 </configure>