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
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to