[Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Arik Jones
Andrew Neil wrote: The file_system extension exists for this purpose. Check it out: http://github.com/nelstrom/radiant-file-system-extension/tree/master I should warn you that it is still under development, so if you do use it, take care! I would appreciate feedback on any problems you

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Andrew Neil
On 25 Aug 2008, at 14:13, Arik Jones wrote: Andrew Neil wrote: The file_system extension exists for this purpose. Check it out: http://github.com/nelstrom/radiant-file-system-extension/tree/master I should warn you that it is still under development, so if you do use it, take care! I

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Sean Cribbs
I think it would be quite straightforward to add the functionality in a similar fashion for 'text-assets' such as stylesheets and javascript files. If I understand Sean's design correctly, I think his intention was that extension authors could make their custom models play with the

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Keith Bingman
It just so happens that I was playing around with getting the file_system extension to work with SNS when I came across a nasty conflict. It seems that SNS uses the attribute filename instead of name. Because the file_system extension uses this as well, it leads to all sorts of nasty

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Keith Bingman
On Aug 25, 2008, at 4:35 PM, Sean Cribbs wrote: I think it would be quite straightforward to add the functionality in a similar fashion for 'text-assets' such as stylesheets and javascript files. If I understand Sean's design correctly, I think his intention was that extension authors

Re: [Radiant] Re: File-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Sean Cribbs
Oh, I forgot to mention that your extension must load before the file_system extension for this to work: config.extensions = [:all, :file_system] -- should do the trick in config/environment.rb. Sean Keith Bingman wrote: On Aug 25, 2008, at 4:35 PM, Sean Cribbs wrote: I think it would