Hmm, I think we had a problem like that. We ended up overlaying SkinThemeUtils.java (near line 180) to tell it to use advanced mode for themes with a particular name.
thanks for your replay. I looked at this as well and I find the whole logic quite questionable.
I looks like it depends on the name of the theme... which must be named "generated_advanced_skin_global"
For now we will just overlay the soy because overlaying Java classes really isn't an option for us.
Another way to do this is to reference the CSS from a plugin (plugin.xml file), e.g.
That'll require no overlays of soy or Java. Another advantage of this is that it'll load theme.css into any iFrames, like the one used in the RTE.