Re: [Radiant] file_system extension (was Wacky version control idea for content)

2008-11-07 Thread Andrew Neil

 Jim's experience has revealed a fairly serious bug in the current
 implementation of the extension though: if you run file_system:load, it will
 delete all models which have not been saved to the FS. So if you ran
 file_system:save:layouts, you would have no pages or snippets on the FS, and
 they would all be deleted from the DB if you later ran file_system:load.
 (They would be safe, however, if you ran file_system:load:layouts).

 This is not by design! It is an oversight on my part, and I intend to fix
 it.


Just reviving this thread to say that I have fixed this issue now. With that
sorted, I've added the file_system to the Radiant extensions registry:

http://ext.radiantcms.org/extensions/67-file-system

Cheers,
Drew
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] file_system extension (and other import/export tools)

2008-11-07 Thread Chris Parrish
I'm going to check it out this weekend.  I do have a couple of quick 
questions, though:


  1. There are a couple of other extensions that appear similar (Sean's
 Import/Export and and Istvan Hoka's Super Import Export come to
 mind). How is yours different?  I've used none of them (yet) an am
 want to look at yours with some idea of the differences.
  2. If I use the file_system extension with other extensions (like,
 say, SnS) is it aware of these new models?  Will it export them too?


Thanks for your extension, Andrew -- it sounds awesome.

-Chris


Andrew Neil wrote:

Jim's experience has revealed a fairly serious bug in the current
implementation of the extension though: if you run file_system:load, it will
delete all models which have not been saved to the FS. So if you ran
file_system:save:layouts, you would have no pages or snippets on the FS, and
they would all be deleted from the DB if you later ran file_system:load.
(They would be safe, however, if you ran file_system:load:layouts).

This is not by design! It is an oversight on my part, and I intend to fix
it.




Just reviving this thread to say that I have fixed this issue now. With that
sorted, I've added the file_system to the Radiant extensions registry:

http://ext.radiantcms.org/extensions/67-file-system

Cheers,
Drew
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
  

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Wrap will_paginate helper in a radius tag for public view

2008-11-07 Thread Roberto Basso
Hi,
I would wrap the follow helper  %= will_paginate @posts % in a
radius tag like this  r:books:paginate / on my extension.
How can render will_paginate helper in my public view ?
I hope in a your help
Best regards
Roberto
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant