[Product-Developers] Serving files from a skin_folder

Noe Misael Nieto Arroyo noe at iservices.com.mx
Tue Mar 22 07:46:41 UTC 2011


Hi.

2011/3/19 Mikko Ohtamaa <mikko+plone at redinnovation.com>

>
> 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
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/product-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110322/bf3536f7/attachment-0002.html>


More information about the Product-Developers mailing list