By daviper1996 on
I am running Acquia Drupal 6.x and also have a third party company which references my css for some searches on their site. But when my CSS filename changes it breaks the third party webpages. It is not a huge issue as I log in to their dashboard and change the css file. but I do not want to have to monitor this all the time. Any reason for why this happens or how I can stop it from happening would be greatly appriciated. It normally happens after I clear the cache but I do not know if this is the only time or if a cron job provokes it as well.
Thank you.
Comments
It could be because you have
It could be because you have the CSS caching turned on. This combines your CSS files and saves a new CSS file. If clearing the cache removes this it will presumably be recreated the next time the site is accessed. If you're getting the name of the CSS file by viewing the source of your Drupal site that would explain things.
If that's causing it, I guess you'd fix it by linking directly to the original CSS files rather than the cached one. Alternatively you could just copy the CSS files across to the other site.
Absolutely
I believe your 100% correct and I did go and point the other site directly to my style.css and it worked like a charm. Made total sense but I have thus far only been pointing to images and the like. Complete tunnel vision but thank you very much and I believe all is well.