Re: [Radiant] Exclude extensions with :all present

2011-07-25 Thread Shanison
Hi Paul, 

Thanks for the reply. Ya, in that case, I have no other choice but to 
specify all the extensions that has to be loaded.

Shanison


Re: [Radiant] Exclude extensions with :all present

2011-07-25 Thread Paul Noden
On 25 July 2011 09:32, Shanison  wrote:
> So is there a workaround for this for Radiant 0.9.1? It would be very
> troublesome if I need to specify every single extensions to load.

0.91 doesn't have the benefit of the new feature
config.ignore_extensions however you can probably patch this in, am
uncertain if anyone else has done this already. You can find the
commit at 
https://github.com/radiant/radiant/commit/6f66516f2346e2739d93b5065a0ebbf2cee5d318

So you are left with a coin toss between patching this in and
specifying your extensions, would imagine the latter is probably
easier when put into context with the alternative?

Paul


[Radiant] Exclude extensions with :all present

2011-07-25 Thread Shanison
Hi all,

I try to exclude some certain extension, however, with the :all keyword, the 
-= doesn't work.
config.extensions = [ :share_layouts, :all]

config.extensions -= [:markdown_filter]

I understand the reason as pointed by Jim last time 
at https://groups.google.com/forum/#!topic/radiantcms/h55I9AKHg9o

So is there a workaround for this for Radiant 0.9.1? It would be very 
troublesome if I need to specify every single extensions to load. Thank you.