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

2008-08-25 Thread Andrew Neil

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  
encounter.


Drew

On 25 Aug 2008, at 05:20, Arik Jones wrote:

Will we ever see the light of day for this feature. I personally  
despise

editing code/indent-heavy layouts/snippets in Radiant. What are the
limitations that prevent this feature from being implemented?
--
Posted via http://www.ruby-forum.com/.
___
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


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

2008-08-25 Thread Joe Van Dyk
I just had a crazy idea.

I'm looking for a way for users to have a draft version of the site.
 When it's ready, they click a button and the pages/snippets/layouts
that are published get transferred over to the new site.

What if:

When they click Publish Site:
  * test site does a rake file_system:save to save the test db stuff
to the file system
  * files are checked into git
  * production site does a checkout
  * production site does a rake file_system:load to load the files into the db

And Tada.  You have a simple, version controlled site where people can
preview their work.

Joe

On Mon, Aug 25, 2008 at 1:40 AM, Andrew Neil
[EMAIL PROTECTED] 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 encounter.

 Drew

 On 25 Aug 2008, at 05:20, Arik Jones wrote:

 Will we ever see the light of day for this feature. I personally despise
 editing code/indent-heavy layouts/snippets in Radiant. What are the
 limitations that prevent this feature from being implemented?
___
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-based Snippets/Layouts with Support for Radiant Tags?

2008-08-25 Thread Sean Cribbs
Back in December 2007 I wrote a quickie extension for someone to have 
two separate sites, one being preview and one being live.  In the end, 
we decided it would be easiest to copy a SQLite3 database file from the 
preview site to the live site (luckily on the same box).  No version 
control, but it was an easy way to keep them separated.


BTW, you could achieve what you mention also with the import/export 
extension (which I added a few fixes to the other day).  It would not be 
easily readable (it's all YAML), but it can maintain all the original 
data, including data that isn't expressly written in the file_system ext.


Sean

Joe Van Dyk wrote:

I just had a crazy idea.

I'm looking for a way for users to have a draft version of the site.
 When it's ready, they click a button and the pages/snippets/layouts
that are published get transferred over to the new site.

What if:

When they click Publish Site:
  * test site does a rake file_system:save to save the test db stuff
to the file system
  * files are checked into git
  * production site does a checkout
  * production site does a rake file_system:load to load the files into the db

And Tada.  You have a simple, version controlled site where people can
preview their work.

Joe

On Mon, Aug 25, 2008 at 1:40 AM, Andrew Neil
[EMAIL PROTECTED] 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 encounter.

Drew

On 25 Aug 2008, at 05:20, Arik Jones wrote:



Will we ever see the light of day for this feature. I personally despise
editing code/indent-heavy layouts/snippets in Radiant. What are the
limitations that prevent this feature from being implemented?
  

___
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


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

2008-08-25 Thread Jamey Cribbs
I wrote an extension that is being used in production that does
something very similar.  We have a staging environment and a
production environment.  The production environment is read-only.  The
users make all their changes on the staging environment.  When they
are ready to migrate the changes to production, they go to a Staging
tab on the staging environment and click a button.  Behind the scenes,
the radiant content is copied from the staging environment to the
production.  It can copy the data between two environments on the same
machine or two environments on different machines (via ssh gem) simply
by changing a flag in the config file.  Because the extension uses
mysqldump, right now it is limited to only mysql databases.

So far, the client has tentatively been agreeable to me open-sourcing
this extension.  Two things have kept me from pursuing that, namely
time constraints and my thinking that this might not be useful to
anyone else.  If others think this extension might be useful to them,
I can move it up my priority list.

Jamey


On Mon, Aug 25, 2008 at 1:08 PM, Sean Cribbs [EMAIL PROTECTED] wrote:
 Back in December 2007 I wrote a quickie extension for someone to have two
 separate sites, one being preview and one being live.  In the end, we
 decided it would be easiest to copy a SQLite3 database file from the preview
 site to the live site (luckily on the same box).  No version control, but it
 was an easy way to keep them separated.

 BTW, you could achieve what you mention also with the import/export
 extension (which I added a few fixes to the other day).  It would not be
 easily readable (it's all YAML), but it can maintain all the original data,
 including data that isn't expressly written in the file_system ext.

 Sean

 Joe Van Dyk wrote:

 I just had a crazy idea.

 I'm looking for a way for users to have a draft version of the site.
  When it's ready, they click a button and the pages/snippets/layouts
 that are published get transferred over to the new site.

 What if:

 When they click Publish Site:
  * test site does a rake file_system:save to save the test db stuff
 to the file system
  * files are checked into git
  * production site does a checkout
  * production site does a rake file_system:load to load the files into
 the db

 And Tada.  You have a simple, version controlled site where people can
 preview their work.

 Joe

 On Mon, Aug 25, 2008 at 1:40 AM, Andrew Neil
 [EMAIL PROTECTED] 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 encounter.

 Drew

 On 25 Aug 2008, at 05:20, Arik Jones wrote:



 Will we ever see the light of day for this feature. I personally despise
 editing code/indent-heavy layouts/snippets in Radiant. What are the
 limitations that prevent this feature from being implemented?


 ___
 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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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

2008-08-24 Thread Mohit Sindhwani

Arik Jones wrote:

Will we ever see the light of day for this feature. I personally despise
editing code/indent-heavy layouts/snippets in Radiant. What are the
limitations that prevent this feature from being implemented?
  


Would it help you to use an external text editor of your choice for 
editing the entry of a text box in Radiant?  I remember that there is a 
Firefox extension that can open up an external text editor of your 
choice.  I searched it up and found this:

http://lists.radiantcms.org/pipermail/radiant/2007-May/004928.html

Hope this helps.
Cheers,
Mohit.
8/25/2008 | 12:29 PM.

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