Styles

14 posts by 4 authors in: Forums > CMS Builder
Last Post: March 25, 2008   (RSS)

By MikeB - March 24, 2008

Hi Steve,

Thanks for the update!

I'm glad to hear you were able to get this up and running and hopefully if anyone runs into this same issue in Firefox, your post will provide some details about this for them.

While I'm not sure of any specific setting that can be changed you can also try clearing out your browser cache and then refresh the page to see if you get the results you're looking for.

Thanks Steve! [:)]
Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com

<hr /><i><a href="http://www.interactivetools.com/consulting/" rel="nofollow"><b>Hire me!</b></a>
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with <a href="http://www.interactivetools.com/consulting/" rel="nofollow"><b>Priority Consulting</b></a>.</i>

By Dave - March 25, 2008

Hi Steve,

Yea, you're right it's a CSS caching issue. I've had it happen too, and it is annoying. :( Here's a few ways to deal with it:

1) You can clear your cache in FireFox (Tools > Options > Privacy > Clear Now... > [X] Cache).

2) You can have it add a random number to the end of the wysiwyg.css url in tinyMCE.init to trick the browser into not caching the CSS (see TinyMCE docs on that here). We haven't done this one because most of the time you want it cached because it's faster.

3) Or for development, this is the trick I use. I load the CSS url directly in my browser (or .js file, those stuck in the cache too). The url would be something like this: http://yoursite.com/cmsAdmin/css/wysiwyg.css

Usually, even that shows the old code, but reloading _that_ file (the .css file) refreshes it in the cache and shows the latest version on the screen. Then it works.

And fortunately you only need to do that in development. I'll give it some thought to see if we can come up with some way make that simpler...

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Styles

By steve_e - March 25, 2008 - edited: March 25, 2008

Hi both -
Thanks for this. It's not a problem really, once you realise what's going on, but after giving up and going to bed, then getting up the next day to find the fairies had apparently fixed what wasn't working the night before made me gibber for a little while until I'd worked it out! :)

It's easy enough to keep an IE window open to see the results immediately though. Thanks for the suggestions!