[Radiant] And what happened to the clear page cache button?

Chris Parrish chris.parrish-forummail at swankinnovations.com
Sun Jun 8 16:15:09 CDT 2008


After posting to you on the other thread, I came over here and see that 
Casper has pointed out:

Casper Fabricius wrote:
> Yes, well that's because you are running radiant in sub-directory; at 
> http://allenlux.dyndns.org/radiant3/ rather than  
> http://allenlux.dyndns.org/.

I also see Sean's response and I'll look into incorporating 
relative_url_for() into the SnS extension.  But until then, Styles 'n 
Scripts is unaware of your subdirectory arrangement and will assume, for 
instance, that your stylesheets are located in 
http://allenlux.dyndns.org/css and not 
http://allenlux.dyndns.org/radiant3/css.  I suspect that this won't work 
since the first url probably wouldn't trigger the 
TextAssetSiteController -- but I'm not sure either.  Can someone test this?

In the meantime, you should be able to make this work by changing the 
default settings via the /styles_n_scripts/custom_settings.rb file.  
Just uncomment/add the following and restart Radiant:

  StylesNScripts::Config[:stylesheet_directory] = 'radiant3/css'
  StylesNScripts::Config[:javascript_directory] = 'radiant3/js'

-Chris
 


More information about the Radiant mailing list