Re: [Radiant] Radiant Paperclip Extension and S3
Hi Gabe, I have a bunch of sites running on Heroku, with no problems. I think your problem is that you are missing the quotes for the radiant config values. It should be: Radiant::Config['assets.storage'] = s3 (Quotes around the assets.storage). I think though the easiest way to do it would be to install the Settings extension, then just add the correct fields in the admin UI. This is the way I do it. Let me know if that helps. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com August-Ruf-Str. 38 D-78224 Singen Tel.: +49-7731-798 383 0 Mobil: +49 171 932 33 75 On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: Hi, I am using Radiant on Heroku. I have installed the paperclipped extension and I'm trying to tether it to my s3 buckets to store the assets. I have read any number of tutorials so far with no success. The instructions here seem like they should work: http://github.com/kbingman/paperclipped/blob/master/README.md When do either script/console OR script/console RAILS_ENV=production I get the following message: g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production Loading RAILS_ENV=production environment (Rails 2.3.4) /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in `read':Errno::ENOENT: No such file or directory - /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb It still takes me to the console but if try and run the config command | Radiant::Config[assets.storage] = s3 NameError: undefined local variable or method `assets' for #Object:0xb75d994c from (irb):1 I have also tried following the instructions from: http://blog.heroku.com/archives/2009/4/7/config-vars/ but got stuck trying to configure paperclipped. Where would i place those configuration settings? I am guessing that this is for more traditional rails apps and won't work with paperclipped? Any help would be appreciated! Thanks, Gabe | ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant Paperclip Extension and S3
I have tried installing the Settings extension but it won't process any of the Rake tasks and breaks the app... Gabe Keith Bingman wrote: Hi Gabe, I have a bunch of sites running on Heroku, with no problems. I think your problem is that you are missing the quotes for the radiant config values. It should be: Radiant::Config['assets.storage'] = s3 (Quotes around the assets.storage). I think though the easiest way to do it would be to install the Settings extension, then just add the correct fields in the admin UI. This is the way I do it. Let me know if that helps. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com August-Ruf-Str. 38 D-78224 Singen Tel.: +49-7731-798 383 0 Mobil: +49 171 932 33 75 On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: Hi, I am using Radiant on Heroku. I have installed the paperclipped extension and I'm trying to tether it to my s3 buckets to store the assets. I have read any number of tutorials so far with no success. The instructions here seem like they should work: http://github.com/kbingman/paperclipped/blob/master/README.md When do either script/console OR script/console RAILS_ENV=production I get the following message: g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production Loading RAILS_ENV=production environment (Rails 2.3.4) /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in `read':Errno::ENOENT: No such file or directory - /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb It still takes me to the console but if try and run the config command | Radiant::Config[assets.storage] = s3 NameError: undefined local variable or method `assets' for #Object:0xb75d994c from (irb):1 I have also tried following the instructions from: http://blog.heroku.com/archives/2009/4/7/config-vars/ but got stuck trying to configure paperclipped. Where would i place those configuration settings? I am guessing that this is for more traditional rails apps and won't work with paperclipped? Any help would be appreciated! Thanks, Gabe | ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant Paperclip Extension and S3
Try running RAILS_ENV=production script/console and let me know what happens. Keith On Apr 12, 2010, at 4:22 PM, Gabe Koss wrote: I have tried installing the Settings extension but it won't process any of the Rake tasks and breaks the app... Gabe Keith Bingman wrote: Hi Gabe, I have a bunch of sites running on Heroku, with no problems. I think your problem is that you are missing the quotes for the radiant config values. It should be: Radiant::Config['assets.storage'] = s3 (Quotes around the assets.storage). I think though the easiest way to do it would be to install the Settings extension, then just add the correct fields in the admin UI. This is the way I do it. Let me know if that helps. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com August-Ruf-Str. 38 D-78224 Singen Tel.: +49-7731-798 383 0 Mobil: +49 171 932 33 75 On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: Hi, I am using Radiant on Heroku. I have installed the paperclipped extension and I'm trying to tether it to my s3 buckets to store the assets. I have read any number of tutorials so far with no success. The instructions here seem like they should work: http://github.com/kbingman/paperclipped/blob/master/README.md When do either script/console OR script/console RAILS_ENV=production I get the following message: g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production Loading RAILS_ENV=production environment (Rails 2.3.4) /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in `read':Errno::ENOENT: No such file or directory - /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb It still takes me to the console but if try and run the config command | Radiant::Config[assets.storage] = s3 NameError: undefined local variable or method `assets' for #Object:0xb75d994c from (irb):1 I have also tried following the instructions from: http://blog.heroku.com/archives/2009/4/7/config-vars/ but got stuck trying to configure paperclipped. Where would i place those configuration settings? I am guessing that this is for more traditional rails apps and won't work with paperclipped? Any help would be appreciated! Thanks, Gabe | ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant Paperclip Extension and S3
I actually just got it working with script/console production. The extra marks seemed to help too. :-) Now, however I am encountering a different problem. It doesn't seem like it is actually tethered to s3. If i upload an asset locally it works like it did before and adds it to public/assets/:id and if i try and upload it to heroku it just times out. think I am missing something. in the console I ran: Radiant::Config['assets.storage'] = s3 Radiant::Config['assets.s3.bucket'] = MY_BUCKETNAME Radiant::Config['assets.s3.key'] = MY_ACCESS_KEY Radiant::Config['assets.s3.secret'] = MY_SECRET Radiant::Config['assets.path'] = :class/:id/:basename_:style.:extension Thanks for your help, you are making my day way calmer, haha Gabe Keith Bingman wrote: Try running RAILS_ENV=production script/console and let me know what happens. Keith On Apr 12, 2010, at 4:22 PM, Gabe Koss wrote: I have tried installing the Settings extension but it won't process any of the Rake tasks and breaks the app... Gabe Keith Bingman wrote: Hi Gabe, I have a bunch of sites running on Heroku, with no problems. I think your problem is that you are missing the quotes for the radiant config values. It should be: Radiant::Config['assets.storage'] = s3 (Quotes around the assets.storage). I think though the easiest way to do it would be to install the Settings extension, then just add the correct fields in the admin UI. This is the way I do it. Let me know if that helps. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com August-Ruf-Str. 38 D-78224 Singen Tel.: +49-7731-798 383 0 Mobil: +49 171 932 33 75 On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: Hi, I am using Radiant on Heroku. I have installed the paperclipped extension and I'm trying to tether it to my s3 buckets to store the assets. I have read any number of tutorials so far with no success. The instructions here seem like they should work: http://github.com/kbingman/paperclipped/blob/master/README.md When do either script/console OR script/console RAILS_ENV=production I get the following message: g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production Loading RAILS_ENV=production environment (Rails 2.3.4) /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in `read':Errno::ENOENT: No such file or directory - /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb It still takes me to the console but if try and run the config command | Radiant::Config[assets.storage] = s3 NameError: undefined local variable or method `assets' for #Object:0xb75d994c from (irb):1 I have also tried following the instructions from: http://blog.heroku.com/archives/2009/4/7/config-vars/ but got stuck trying to configure paperclipped. Where would i place those configuration settings? I am guessing that this is for more traditional rails apps and won't work with paperclipped? Any help would be appreciated! Thanks, Gabe | ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant Paperclip Extension and S3
Correction: when i try and upload an asset via heroku i get an application error Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html Gabe Keith Bingman wrote: Try running RAILS_ENV=production script/console and let me know what happens. Keith On Apr 12, 2010, at 4:22 PM, Gabe Koss wrote: I have tried installing the Settings extension but it won't process any of the Rake tasks and breaks the app... Gabe Keith Bingman wrote: Hi Gabe, I have a bunch of sites running on Heroku, with no problems. I think your problem is that you are missing the quotes for the radiant config values. It should be: Radiant::Config['assets.storage'] = s3 (Quotes around the assets.storage). I think though the easiest way to do it would be to install the Settings extension, then just add the correct fields in the admin UI. This is the way I do it. Let me know if that helps. Keith Keith Bingman ke...@keithbingman.com http://keithbingman.com August-Ruf-Str. 38 D-78224 Singen Tel.: +49-7731-798 383 0 Mobil: +49 171 932 33 75 On Apr 12, 2010, at 4:13 PM, Gabe Koss wrote: Hi, I am using Radiant on Heroku. I have installed the paperclipped extension and I'm trying to tether it to my s3 buckets to store the assets. I have read any number of tutorials so far with no success. The instructions here seem like they should work: http://github.com/kbingman/paperclipped/blob/master/README.md When do either script/console OR script/console RAILS_ENV=production I get the following message: g...@ubuntu:~/elmoreroots/radiant$ script/console RAILS_ENV=production Loading RAILS_ENV=production environment (Rails 2.3.4) /usr/lib/ruby/gems/1.8/gems/radiant-0.8.1/vendor/rails/railties/lib/initializer.rb:386:in `read':Errno::ENOENT: No such file or directory - /home/gabe/elmoreroots/radiant/config/environments/RAILS_ENV=production.rb It still takes me to the console but if try and run the config command | Radiant::Config[assets.storage] = s3 NameError: undefined local variable or method `assets' for #Object:0xb75d994c from (irb):1 I have also tried following the instructions from: http://blog.heroku.com/archives/2009/4/7/config-vars/ but got stuck trying to configure paperclipped. Where would i place those configuration settings? I am guessing that this is for more traditional rails apps and won't work with paperclipped? Any help would be appreciated! Thanks, Gabe | ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] [Radiant-Dev] [ANN] PageParts extension
PageParts is now available from the extension registry: http://ext.radiantcms.org/extensions/222-page-parts I fear I over-explained this originally, so here's a recap and some screen shots. The combination of page parts and Radius tags makes for a lot of flexibility, but sometimes it's not enough. Wouldn't it be great if you could just add a page part and get a file uploader instead of a text area? Or a calendar pop-up? Or even a fieldset with multiple form elements inside it? Enter PageParts. It allows you to create new kinds of page parts that handle any data, not just text. A few examples -- The Add Part popup. You'll notice something new here: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/part_select.png A part for attaching files to a page: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/file_part.png A page part with a calendar pop-up: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/date_part.png It's really easy to get started, too. You can define new kinds of parts with just a few lines of code. Here's all the code needed for those two examples -- Defining a File part: http://gist.github.com/363600 Defining a Date part: http://gist.github.com/363609 Enjoy! j ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] [Radiant-Dev] [ANN] PageParts extension
Josh, This looks badass -- I can't wait to start messing with it to simplify the workflow/organization for some of my clients. - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter On Mon, Apr 12, 2010 at 11:25 AM, Josh French j...@digitalpulp.com wrote: PageParts is now available from the extension registry: http://ext.radiantcms.org/extensions/222-page-parts I fear I over-explained this originally, so here's a recap and some screen shots. The combination of page parts and Radius tags makes for a lot of flexibility, but sometimes it's not enough. Wouldn't it be great if you could just add a page part and get a file uploader instead of a text area? Or a calendar pop-up? Or even a fieldset with multiple form elements inside it? Enter PageParts. It allows you to create new kinds of page parts that handle any data, not just text. A few examples -- The Add Part popup. You'll notice something new here: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/part_select.png A part for attaching files to a page: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/file_part.png A page part with a calendar pop-up: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/date_part.png It's really easy to get started, too. You can define new kinds of parts with just a few lines of code. Here's all the code needed for those two examples -- Defining a File part: http://gist.github.com/363600 Defining a Date part: http://gist.github.com/363609 Enjoy! j ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] [Radiant-Dev] [ANN] PageParts extension
Yar! I like this. On Mon, Apr 12, 2010 at 11:32 AM, Jeff Casimir j...@casimircreative.com wrote: Josh, This looks badass -- I can't wait to start messing with it to simplify the workflow/organization for some of my clients. - Jeff --- Jeff Casimir Jumpstart Lab by Casimir Creative, LLC http://jumpstartlab.com @jumpstartlab on twitter On Mon, Apr 12, 2010 at 11:25 AM, Josh French j...@digitalpulp.com wrote: PageParts is now available from the extension registry: http://ext.radiantcms.org/extensions/222-page-parts I fear I over-explained this originally, so here's a recap and some screen shots. The combination of page parts and Radius tags makes for a lot of flexibility, but sometimes it's not enough. Wouldn't it be great if you could just add a page part and get a file uploader instead of a text area? Or a calendar pop-up? Or even a fieldset with multiple form elements inside it? Enter PageParts. It allows you to create new kinds of page parts that handle any data, not just text. A few examples -- The Add Part popup. You'll notice something new here: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/part_select.png A part for attaching files to a page: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/file_part.png A page part with a calendar pop-up: http://cloud.github.com/downloads/digitalpulp/radiant-page-parts-extension/date_part.png It's really easy to get started, too. You can define new kinds of parts with just a few lines of code. Here's all the code needed for those two examples -- Defining a File part: http://gist.github.com/363600 Defining a Date part: http://gist.github.com/363609 Enjoy! j ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Page Caching on Heroku
Hi, Can anyone point me to the best way to deal with page caching for radiant on Heroku. Is there anyway that multiple users can make changes to page content without requiring a 24 hour wait for the Heroku cache to clear? Thank you, Gabe ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Page Caching on Heroku
On Mon, Apr 12, 2010 at 2:46 PM, Gabe Koss gabe.k...@gmail.com wrote: Hi, Can anyone point me to the best way to deal with page caching for radiant on Heroku. Is there anyway that multiple users can make changes to page content without requiring a 24 hour wait for the Heroku cache to clear? Thank you, Gabe Multiple users can change content at any time. Heroku does very aggressive caching so what I think you mean is that your users can't see the changes until 24 hours later. See this thread http://groups.google.com/group/radiantcms/browse_thread/thread/3bf6129696acc43c/ce77cd613ed46849?lnk=gstq=heroku#ce77cd613ed46849 Basically, you need to restart your app if you want Heroku to clear the cache. -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant and Custom Page Forms
Anna and Fito... thanks a lot for your help. I'll check out the custom Page stuff tonight! - Ryan On Wed, Apr 7, 2010 at 11:23 AM, José Adolpho da Silva Gordo Neto fitogo...@gmail.com wrote: Hi Ryan, Unless I am missing something, I think Radiant can meet your needs out of the box with the help of a few extensions. However, I would do this a little differently than you describe for simplicity's sake. I would use the stereotype extension so that every page added under the / meetings page would be created with the necessary body parts (Date, Location, Description, etc...). Now everytime the non-technical user creates a page under meetings, the correctly named body parts are automatically added, and the user simply has to click on the relevant body part and fill in the necessary info. I think there is an extension for building forms and calling them through Radius tags, but I think the method I described above is a little more straight forward and more inline with the overall Radiant architecture. Someone please correct me if I'm wrong. -Fito On Apr 7, 2010, at 11:36 AM, Ryan Ferretti wrote: Hey Everyone, I just started looking into Radiant to use as our team's CMS and it looks pretty cool... you guys have done a great job! My question basically is about whether Radiant supports creating custom admin forms so that someone non-technical could create a page. Something like this scenario that uses the Articles page and its children from the Roasters Template: A person who knows no html/ruby can go into the admin section and create a new Article for a Meeting by just filling out certain fields like Meeting Title( which is technically Page Title now), Date of Meeting, Location, and Description. This would just be simple form without the Page Parts (body, extended). And then a technical person would obviously have to write the main Meetings page which aggregates its children and adds all of the styling... something like this: r:children:each limit=5 order=desc div class=entry h3r:link //h3 -- This could stay as the title -- div class=posted Posted by r:author / on r:date format=%B %d, %Y /em|/ emimg src=http://spurrd.com/assets/123/comment.png; /a href=r:url /#disqus_threadComments/aem|/emr:linkRead full article/r:link /div Date of Meeting: r:content part=meeting_date / Location: r:content part=meeting_location / Description: r:content part=meeting_description / /div /r:children:each Is this possible out of the box or will it take a good amount of work to change the model/controller logic behind the scenes? Regardless of the answer we are definitely going to use Radiant on a different project with all technical people. Please let me know if I am not making sense. Thanks, Ryan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant and Custom Page Forms
Late response, but if you're running Radiant on edge you might also check out two recent extensions, PageFactory and PageParts. PageFactory accomplishes the same thing as Stereotypes, allowing you set up pages with default parts. The main difference is that these definitions live in app/models, instead of in the database. PageParts would allow you to enter meeting dates with a nice calendar pop-up instead of entering them as text (screenshot: http://bit.ly/c5KZ7R) . Additionally, you get some extra Radius tags for working with pages that have dates -- for instance, you could choose to display only meetings with dates after Date.today. (Self-promotion alert: I had a heavy hand in both of these.) j On Apr 7, 2010, at 1:00 PM, radiant-requ...@radiantcms.org wrote: Hey Everyone, I just started looking into Radiant to use as our team's CMS and it looks pretty cool... you guys have done a great job! My question basically is about whether Radiant supports creating custom admin forms so that someone non-technical could create a page. Something like this scenario that uses the Articles page and its children from the Roasters Template: A person who knows no html/ruby can go into the admin section and create a new Article for a Meeting by just filling out certain fields like Meeting Title( which is technically Page Title now), Date of Meeting, Location, and Description. This would just be simple form without the Page Parts (body, extended). And then a technical person would obviously have to write the main Meetings page which aggregates its children and adds all of the styling... something like this: r:children:each limit=5 order=desc div class=entry h3r:link //h3 -- This could stay as the title -- div class=posted Posted by r:author / on r:date format=%B %d, %Y /em|/ emimg src=http://spurrd.com/assets/123/comment.png; /a href=r:url /#disqus_threadComments/aem|/emr:linkRead full article/r:link /div Date of Meeting: r:content part=meeting_date / Location: r:content part=meeting_location / Description: r:content part=meeting_description / /div /r:children:each Is this possible out of the box or will it take a good amount of work to change the model/controller logic behind the scenes? Regardless of the answer we are definitely going to use Radiant on a different project with all technical people. Please let me know if I am not making sense. Thanks, Ryan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Page Caching on Heroku
Hello there, Can anybody explain to me what does mean Heroku? On 4/12/10, Jim Gay j...@saturnflyer.com wrote: On Mon, Apr 12, 2010 at 2:46 PM, Gabe Koss gabe.k...@gmail.com wrote: Hi, Can anyone point me to the best way to deal with page caching for radiant on Heroku. Is there anyway that multiple users can make changes to page content without requiring a 24 hour wait for the Heroku cache to clear? Thank you, Gabe Multiple users can change content at any time. Heroku does very aggressive caching so what I think you mean is that your users can't see the changes until 24 hours later. See this thread http://groups.google.com/group/radiantcms/browse_thread/thread/3bf6129696acc43c/ce77cd613ed46849?lnk=gstq=heroku#ce77cd613ed46849 Basically, you need to restart your app if you want Heroku to clear the cache. -- Jim Gay http://www.saturnflyer.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org -- Regards, Mamed Mamedov ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant and Custom Page Forms
also there's a new date input option in Edge, using a nice JS calendar popup. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Page Caching on Heroku
On Mon, Apr 12, 2010 at 4:07 PM, Mamed Mamedov mamed.mame...@gmail.com wrote: Hello there, Can anybody explain to me what does mean Heroku? http://heroku.com/ http://wiki.github.com/radiant/radiant/installing-on-heroku On 4/12/10, Jim Gay j...@saturnflyer.com wrote: On Mon, Apr 12, 2010 at 2:46 PM, Gabe Koss gabe.k...@gmail.com wrote: Hi, Can anyone point me to the best way to deal with page caching for radiant on Heroku. Is there anyway that multiple users can make changes to page content without requiring a 24 hour wait for the Heroku cache to clear? Thank you, Gabe Multiple users can change content at any time. Heroku does very aggressive caching so what I think you mean is that your users can't see the changes until 24 hours later. See this thread http://groups.google.com/group/radiantcms/browse_thread/thread/3bf6129696acc43c/ce77cd613ed46849?lnk=gstq=heroku#ce77cd613ed46849 Basically, you need to restart your app if you want Heroku to clear the cache. -- Jim Gay http://www.saturnflyer.com _ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] error on welcome
L.S., I have radiant gem 0.8.1 installed, made a fresh site and then followed the instructions on the download page under the heading The Bleeding Edge I see the login page, but after login, I see Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I wonder what I am missing or what i did wrong. Could you help me out? the log shows this: -- Processing Admin::WelcomeController#index (for 80.61.243.71 at 2010-04-12 22:21:20) [GET] Parameters: {action=index, controller=admin/welcome} NoMethodError (undefined method `locale' for #User:0x2304574): vendor/radiant/app/controllers/application_controller.rb:68:in `set_user_locale' vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb: 19:in `process' thin (1.2.7) lib/thin/connection.rb:76:in `pre_process' thin (1.2.7) lib/thin/connection.rb:74:in `catch' thin (1.2.7) lib/thin/connection.rb:74:in `pre_process' thin (1.2.7) lib/thin/connection.rb:57:in `process' thin (1.2.7) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.7) lib/thin/backends/base.rb:57:in `start' thin (1.2.7) lib/thin/server.rb:156:in `start' thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.7) lib/thin/runner.rb:177:in `send' thin (1.2.7) lib/thin/runner.rb:177:in `run_command' thin (1.2.7) lib/thin/runner.rb:143:in `run!' thin (1.2.7) bin/thin:6 /usr/local/bin/thin:19:in `load' /usr/local/bin/thin:19 -- Jan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] error on welcome
did you run `rake radiant:update` and `rake db:migrate` after updating to the master branch? On Mon, Apr 12, 2010 at 3:53 PM, Jan M.J. Storms j...@storms.org wrote: L.S., I have radiant gem 0.8.1 installed, made a fresh site and then followed the instructions on the download page under the heading The Bleeding Edge I see the login page, but after login, I see Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I wonder what I am missing or what i did wrong. Could you help me out? the log shows this: -- Processing Admin::WelcomeController#index (for 80.61.243.71 at 2010-04-12 22:21:20) [GET] Parameters: {action=index, controller=admin/welcome} NoMethodError (undefined method `locale' for #User:0x2304574): vendor/radiant/app/controllers/application_controller.rb:68:in `set_user_locale' vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb: 19:in `process' thin (1.2.7) lib/thin/connection.rb:76:in `pre_process' thin (1.2.7) lib/thin/connection.rb:74:in `catch' thin (1.2.7) lib/thin/connection.rb:74:in `pre_process' thin (1.2.7) lib/thin/connection.rb:57:in `process' thin (1.2.7) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.7) lib/thin/backends/base.rb:57:in `start' thin (1.2.7) lib/thin/server.rb:156:in `start' thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.7) lib/thin/runner.rb:177:in `send' thin (1.2.7) lib/thin/runner.rb:177:in `run_command' thin (1.2.7) lib/thin/runner.rb:143:in `run!' thin (1.2.7) bin/thin:6 /usr/local/bin/thin:19:in `load' /usr/local/bin/thin:19 -- Jan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] error on welcome
On Mon, Apr 12, 2010 at 4:53 PM, Jan M.J. Storms j...@storms.org wrote: L.S., I have radiant gem 0.8.1 installed, made a fresh site and then followed the instructions on the download page under the heading The Bleeding Edge I see the login page, but after login, I see Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I wonder what I am missing or what i did wrong. Could you help me out? the log shows this: -- Processing Admin::WelcomeController#index (for 80.61.243.71 at 2010-04-12 22:21:20) [GET] Parameters: {action=index, controller=admin/welcome} NoMethodError (undefined method `locale' for #User:0x2304574): rake db:migrate -- Jim Gay http://www.saturnflyer.com http://www.saturnflyer.com/blog/jim/2010/04/02/commenting-in-radiantcms-with-a-gem/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
[Radiant] Re(2): error on welcome
I did. john muhl scripsit dd. Mon, 12 Apr 2010 15:58:19 -0500 (internet: @915) did you run `rake radiant:update` and `rake db:migrate` after updating to the master branch? On Mon, Apr 12, 2010 at 3:53 PM, Jan M.J. Storms j...@storms.org wrote: L.S., I have radiant gem 0.8.1 installed, made a fresh site and then followed the instructions on the download page under the heading The Bleeding Edge I see the login page, but after login, I see Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html I wonder what I am missing or what i did wrong. Could you help me out? the log shows this: -- Processing Admin::WelcomeController#index (for 80.61.243.71 at 2010-04-12 22:21:20) [GET] Parameters: {action=index, controller=admin/welcome} NoMethodError (undefined method `locale' for #User:0x2304574): vendor/radiant/app/controllers/application_controller.rb:68:in `set_user_locale' vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb: 19:in `process' thin (1.2.7) lib/thin/connection.rb:76:in `pre_process' thin (1.2.7) lib/thin/connection.rb:74:in `catch' thin (1.2.7) lib/thin/connection.rb:74:in `pre_process' thin (1.2.7) lib/thin/connection.rb:57:in `process' thin (1.2.7) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.7) lib/thin/backends/base.rb:57:in `start' thin (1.2.7) lib/thin/server.rb:156:in `start' thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.7) lib/thin/runner.rb:177:in `send' thin (1.2.7) lib/thin/runner.rb:177:in `run_command' thin (1.2.7) lib/thin/runner.rb:143:in `run!' thin (1.2.7) bin/thin:6 /usr/local/bin/thin:19:in `load' /usr/local/bin/thin:19 -- Jan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org