I'm writing a plugin that makes use of a third-party Javascript library and CSS (extjs 3.0). However, I am having problems getting the external CSS file to work properly.
The CSS file contains relative paths to background images, and this is what is causing the problem. 1) I tried to unpack the library under plugin_name/vendors/js/ext (and maintain the vendors directory structure), but when I do this I am unable to load their CSS file (their js file loads ok). 2) Then I moved the third-party CSS-images directory structure under vendors css plugin_name/vendors/css/ext/resources/css plugin_name/vendors/css/ext/resources/images The CSS file loads but is unable to load the images, why? (the CSS images are relative - is cake doing/restricting something?) 3) To make sure I hadn't stuffed something up I moved the images from 2) under plugin_name/vendors/img and hacked the CSS file to point at them (still using relative urls). The result was that the CSS loaded the images (success - kinda). The problem is that this is a third-party library, and I don't want to hack their CSS file each time there's an upadate etc is there something in cake that is forcing this behaviour (css in the css dir, images under the img directory)? Also, ideally I'd like to just unpack the third-party files under 1 directory and not have to split them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
