Hi. 2011/3/19 Mikko Ohtamaa <[email protected]>
> > Noe Misael Nieto Arroyo wrote: > > > > So, what's the deal? Wil CMFCore's DirectoryViews ever serve this kind of > > files? Or should I use the zope3-is way to register resources? > > > > Both ways work, though DirectoryView will lead to conflicts if you have > same > filename in several packages. > > What you need to register a skins view > > 1. ZCML entry > > 2. skins.xml entry > > Do you have both? If you do you just probably have typing error somewhere. > Some errors like this get often silently ignored (to make sure Plone starts > even if files are present, etc.) > I have both. (ZCML entry and skins.xml). Plone serves images without problem from this skin view / DirectoryView. It is only when I have files that aren't images, css or javascript that I run into problems. > > http://collective-docs.plone.org/templates_css_and_javascripts/skin_layers.html > > > > ----- > > Follow me in Twitter > > > > Download mFabrik News for iPhone > or Android > > > > > -- > View this message in context: > http://plone.293351.n2.nabble.com/Serving-files-from-a-skin-folder-tp6186866p6187215.html > Sent from the Product Developers mailing list archive at Nabble.com. > _______________________________________________ > Product-Developers mailing list > [email protected] > https://lists.plone.org/mailman/listinfo/product-developers >
_______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/product-developers
