You should store your javascript using a skin directory. It's always good to
be able to customize ttw your javascript.

But it doesn't solve the question. Yes you can do it that way, or by
checking if the request implements the layer. But except if you want to do a
theme switcher, the theme is not supposed to change in the normal website
lifecycle.




-----
Jean-Michel François aka toutpt
http://toutpt.wordpress.com
http://twitter.com/toutpt

-- 
View this message in context: 
http://plone.293351.n2.nabble.com/Theme-Layer-specific-javascript-conditional-tp6031863p6033041.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
Product-Developers@lists.plone.org
https://lists.plone.org/mailman/listinfo/product-developers

Reply via email to