Hi Dijx, I know that you can load templates from workspace, file system or classpath. Not sure if you can also load resources from the file system. You can load them from the other two locations for sure.
To load a CSS from a folder in your classpath: 1. Go to Templating Kit > Resources > /templating-kit/themes/pop/css/styles (or equivalent on your site) and check the Bypass checkbox on the Advanced tab. This bypasses the resource. The system will now look for the CSS file in a classpath folder instead. 2. Copy your own styles.css file into a folder that resides in the classpath. By default, a Magnolia webapp's classpath contains any resources in /WEB-INF/classes. So create the corresponding folder hierarchy: /WEB-INF/classes/templating-kit/themes/pop/css/styles.css 3. Restart the instance to make sure you are not getting an already-cached resource. You don't need to edit the link node in your theme. It should point to the resource in the resources workspace, which in turn is bypassed. --Antti -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=3f4ec272-e4a0-4751-8b33-e2ad8a63c96e ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
