how to not have to put ++resource++ for your skin resources

David Bain david.bain at alteroo.com
Tue Dec 4 15:32:13 UTC 2007


Thank you, /me adjusts his perspective.

On Dec 4, 2007 10:24 AM, Tom Lazar <lists at tomster.org> wrote:
>
> On Dec 4, 2007, at 2:27 PM, Martin Aspeli wrote:
>
> > David Bain wrote:
> >>
> >> To answer my own question. It looks like I need register the
> >> directories
> >> in:
> >> profiles/default/skins.xml of my product.
> >>
> >
> > Note that you can also use <browser:resourceDirectory /> to avoid
> > having to
> > register so many resources. That way, you do
> > ++resource++some.directory/myimage.png.
>
> FWIW: i've come to love the ++resource++ notation (in conjunction with
> the browser:resourceDirectory directive). it makes for excellent
> rewrite rules in apache/nginx and i can thus easily serve the contents
> of such directories statically from the filesystem.
>
> once you start treating the explicitness of ++resource++ as a feature
> instead of a liability all kinds of things become possible ;-)
>
> just my $0.02,
>
> tom
>
> >
> >
> > Martin
> > --
> > View this message in context: http://www.nabble.com/how-to-not-have-to-put-%2B%2Bresource%2B%2B-for-your-skin-resources-tf4938756s20094.html#a14150423
> > Sent from the Product Developers mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > Product-Developers mailing list
> > Product-Developers at lists.plone.org
> > http://lists.plone.org/mailman/listinfo/product-developers
> >
>
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>




More information about the Product-Developers mailing list