[Radiant] Generic CRUD extension
Hi, I'm currently having to write a series of extensions for a new site I'm working on. All they are is a series of simple CRUD extensions and very repetitive. I was just wondering if there was a plugin that would cut out on this repetition? Regards John ___ 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 Parts extension - Passenger failing
/radiant/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in `rollback_active_record_state!' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in `save!' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:2635:in `update_attributes!' /Users/johnpolling/Sites/Vista/vendor/radiant/app/controllers/admin/resource_controller.rb:65:in `create' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `run_before_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in `call' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `sass_old_process' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/plugins/haml/lib/sass/plugin/rails.rb:20:in `process' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' Is this a problem in Production mode as well? Interestingly if I press Save and continue editing the page just hangs. Thanks again John On 5 May 2010, at 01:27, Josh French wrote: Thanks for looking into this so quickly. Will run an update first thing in the morning. Oops -- you'll have to update PageFactory as well. I believe that's the last of it. 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] Page Parts extension - Passenger failing
Both working a treat in Production. Thanks again for resolving so quickly. Loving both extensions, exactly what RadiantCMS has been needing for quite some time. John On 5 May 2010, at 01:27, Josh French wrote: Thanks for looking into this so quickly. Will run an update first thing in the morning. Oops -- you'll have to update PageFactory as well. I believe that's the last of it. 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] Page Parts extension - Passenger failing
Also to add to my problems I can't get page_factory and page_parts to work together. When I add a part such as part Start Date, :page_part_type = DatePagePart The part appears, but the page_part_type doesn't set to a DatePagePart. I'm guessing this is a config problem, but I have no idea what to set. Thanks John On 4 May 2010, at 17:10, John Polling wrote: Hi, I'm using the Page Parts extension for the first time. I'm running RadiantCMS on Edge, so not certain if this is the problem. I have created a file_image_page_part and placed the file in the {RAILS_ROOT}/app/models folder. However when I restart Passenger I am getting the following error message. no such file to load -- /file_image_page_part (MissingSourceFile) Is there something obvious I've missed here, such as a config setting? Thanks John ___ 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] Page Parts extension - Passenger failing
Hi Josh, Thanks for looking into this so quickly. Will run an update first thing in the morning. John On 4 May 2010, at 21:33, Josh French j...@digitalpulp.com wrote: Hi John, Can you update your copy of PageParts and try again? I've just pushed a change which should hopefully solve both of those issues. Please let me know if it works for you or not. Best, 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] Maxlength attribute not displaying on mailer generated form
On Thu, Apr 29, 2010 at 9:37 AM, Victor Zuniga vzun...@westervillelibrary.org wrote: One of our staff members encountered an interesting behavior when setting up a form for a local activity. They wanted to limit the amount of characters a user can type within the text box. They went ahead and used the maxlength in the following manner: r:mailer:text name=1engraving4x8 id=1engraving4x8 maxlength=13 / However, when looking at the generated page on the browser (View Page Source) the attribute is nowhere to be found. If I go back to edit the page, I¹ll find the attribute where is meant to be placed. Any ideas as to why is not displaying when using the mailer form tags? the mailer extension only allows you to pass the size, class and id attributes through. i've run into this before and in my fork accept many more attributes. ___ 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] Maxlength attribute not displaying on mailer generated form
On Thu, Apr 29, 2010 at 12:04 PM, Jim Gay j...@saturnflyer.com wrote: On Apr 29, 2010, at 11:03 AM, john muhl wrote: On Thu, Apr 29, 2010 at 9:37 AM, Victor Zuniga vzun...@westervillelibrary.org wrote: One of our staff members encountered an interesting behavior when setting up a form for a local activity. They wanted to limit the amount of characters a user can type within the text box. They went ahead and used the maxlength in the following manner: r:mailer:text name=1engraving4x8 id=1engraving4x8 maxlength=13 / However, when looking at the generated page on the browser (View Page Source) the attribute is nowhere to be found. If I go back to edit the page, I¹ll find the attribute where is meant to be placed. Any ideas as to why is not displaying when using the mailer form tags? the mailer extension only allows you to pass the size, class and id attributes through. i've run into this before and in my fork accept many more attributes. John, I just added you to the mailer repository. Feel free to update it. i've pushed up the changes now. some of the new html5 inputs types are added and most attributes are now allowed (the few i left out didn't seem to make sense in this context). if you're trying to set boolean attributes you'll need to use the long version; e.g. autofocus=autofocus ___ 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] problem with page_attachment
On Thu, Apr 29, 2010 at 3:16 PM, Horst Rischbode ho...@horibo.de wrote: Hi John, thanks for the quick answer. Tried to follow Your instructions but failed. git checkout... raises an error: fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'radiant-0.8.0' which con not be resolved as commit? Sorry, but I'm an absolute newby to git. I'm working an a windows development machine. Don't know, if git bash for windows behaves as expected in this situation. Is there a way to download the right version via web? try this link: http://github.com/radiant/radiant-page-attachments-extension/archives/radiant-0.8.0 ___ 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] problem with page_attachment
you need the 0.8 branch cd radiant/vendor/extensions git clone git://github.com/radiant/radiant-page-attachments-extension.git page_attachments cd page_attachments git checkout -b 0.8 radiant-0.8.0 cd ../../.. rake radiant:extensions:page_attachments:migrate rake radiant:extensions:page_attachments:update On Wed, Apr 28, 2010 at 2:34 PM, Horst Rischbode ho...@horibo.de wrote: Hello, trying to get started with page_attachments extension. I'm running Radiant 0.8.1. Installation was successful. rake tasks migrate update ran without any errors. In Database, I have a new table page_attachments and under each page in Admin-Interface, I get the expected page attachment stuff. So far so good... But if I click the '+' sign, nothing happens. This is the case for all page types. Tried to reorder the loading of extensions via environment.rb. Nothing changes. My development.log doesn't show any entry for hitting the '+' sign. Any ideas? Thanks Horst ___ 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 factory css
i installed the page factory extension and ran the migrate/update tasks but the page_factory.css is not being included in the admin ui. i see the public/stylesheets/admin/page_factory.css file but it's not being added to the @stylesheets array while other css (e.g. page_attachments.css) are included as expected. this is on the current master. any hints? ___ 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 factory css
On Wed, Apr 28, 2010 at 10:18 PM, Josh French j...@digitalpulp.com wrote: oops. i meant that it's not included on the factory pages but is included on the main page list. That's correct. The CSS only styles the popup on the pages index, so I didn't include it on the new/edit screens. that explains that :) i was trying to apply some styling to the descriptions to set them off from the other stuff in the tab area i guess it should be easy enough to add in overrides.css I should have time tomorrow to look at the other issues you filed on Github. Thanks for the feedback! 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] [ANN] RadiantCasts episode 8
On Thu, Apr 15, 2010 at 3:00 PM, Cristi Duma cristi.d...@aissac.ro wrote: bliptv provides a .mov version but I think their TOS don't allow me to publish deep links to those .mov versions. I'll have to check that up, just to be sure. surely they don't have a problem with linking to http://blip.tv/file/3479659/ right? no need for a link directly to the file if they have a problem with that. ___ 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] [ANN] RadiantCasts episode 8
On Wed, Apr 14, 2010 at 1:50 AM, Cristi Duma cristi.d...@aissac.ro wrote: @John if you mean like downloading .mov version from amazon or something similar... you can't. nor can i watch them in the first place since i do not have flash installed. Maybe in the future, but at the moment i'm only investing time in Radiantcasts. why spend the time to output flash? why not just output something that everyone can watch? ___ 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] [ANN] RadiantCasts episode 8
...or just add the link to the .mov version that blip.tv automatically creates to the post...by the way it's embed src=abc not embed src=xyz/embed On Wed, Apr 14, 2010 at 9:25 AM, Joel Oliveira joel.olive...@gmail.com wrote: If you can get the url to the FLV from Cristi then you should be able to watch it in something like VLC. Even without flash installed (I do believe). - Joel On Wed, Apr 14, 2010 at 10:18 AM, john muhl johnm...@gmail.com wrote: On Wed, Apr 14, 2010 at 1:50 AM, Cristi Duma cristi.d...@aissac.ro wrote: @John if you mean like downloading .mov version from amazon or something similar... you can't. nor can i watch them in the first place since i do not have flash installed. Maybe in the future, but at the moment i'm only investing time in Radiantcasts. why spend the time to output flash? why not just output something that everyone can watch? ___ 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] [ANN] RadiantCasts episode 8
On Wed, Apr 14, 2010 at 9:41 AM, Cristi Duma cristi.d...@aissac.ro wrote: yeah, great idea http://blip.tv/file/get/Radiantscreencast-Episode8RadiantChronicleExtension139.mov hope it works thanks. About the embed stuff... i just copy paste it from bliptv. ah. they probably think they're writing XHTML :) Umm.. how come you don't have flash installed? I hate flash, too but I just use a flash block add-on and what about mobile devices that just can't run flash? On Wed, Apr 14, 2010 at 5:37 PM, john muhl johnm...@gmail.com wrote: ...or just add the link to the .mov version that blip.tv automatically creates to the post...by the way it's embed src=abc not embed src=xyz/embed On Wed, Apr 14, 2010 at 9:25 AM, Joel Oliveira joel.olive...@gmail.com wrote: If you can get the url to the FLV from Cristi then you should be able to watch it in something like VLC. Even without flash installed (I do believe). - Joel On Wed, Apr 14, 2010 at 10:18 AM, john muhl johnm...@gmail.com wrote: On Wed, Apr 14, 2010 at 1:50 AM, Cristi Duma cristi.d...@aissac.ro wrote: @John if you mean like downloading .mov version from amazon or something similar... you can't. nor can i watch them in the first place since i do not have flash installed. Maybe in the future, but at the moment i'm only investing time in Radiantcasts. why spend the time to output flash? why not just output something that everyone can watch? ___ 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] [ANN] RadiantCasts episode 8
On Wed, Apr 14, 2010 at 11:37 AM, Jeff Casimir j...@casimircreative.com wrote: Hey John, Sorry if this comes off dick-ish, but I just wanted to remind you that Cristi is making these videos for the good of everybody on his freetime -- not even ad supported. and now that i've discovered the videos are hosted on blip.tv which provides a non-flash version i can appreciate his efforts. it's positively awesome and i'm going to be adding links to the wiki. I'm no flash lover myself, but I don't think he's being pretentious or anything posting them from a flash-based system. Let's get solutions-oriented. someone mentioned that vlc may be able to play the flv directly so i went looking through the html looking for the flv url. instead i found a bit that lead me to blip.tv to discover that there already was a non-flash version. then i suggested that a link to the non-flash version be included in the posts. problem solved. Are you trying to view them in an HTML5-compliant browser? Maybe suggest an HTML5 site he could host the videos at? Your line of comments so far have been a little antagonistic. sorry. On Wed, Apr 14, 2010 at 10:57 AM, john muhl johnm...@gmail.com wrote: On Wed, Apr 14, 2010 at 9:41 AM, Cristi Duma cristi.d...@aissac.ro wrote: yeah, great idea http://blip.tv/file/get/Radiantscreencast-Episode8RadiantChronicleExtension139.mov hope it works thanks. About the embed stuff... i just copy paste it from bliptv. ah. they probably think they're writing XHTML :) Umm.. how come you don't have flash installed? I hate flash, too but I just use a flash block add-on and what about mobile devices that just can't run flash? On Wed, Apr 14, 2010 at 5:37 PM, john muhl johnm...@gmail.com wrote: ...or just add the link to the .mov version that blip.tv automatically creates to the post...by the way it's embed src=abc not embed src=xyz/embed On Wed, Apr 14, 2010 at 9:25 AM, Joel Oliveira joel.olive...@gmail.com wrote: If you can get the url to the FLV from Cristi then you should be able to watch it in something like VLC. Even without flash installed (I do believe). - Joel On Wed, Apr 14, 2010 at 10:18 AM, john muhl johnm...@gmail.com wrote: On Wed, Apr 14, 2010 at 1:50 AM, Cristi Duma cristi.d...@aissac.ro wrote: @John if you mean like downloading .mov version from amazon or something similar... you can't. nor can i watch them in the first place since i do not have flash installed. Maybe in the future, but at the moment i'm only investing time in Radiantcasts. why spend the time to output flash? why not just output something that everyone can watch? ___ 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 ___ 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] [ANN] RadiantCasts episode 8
any chance of getting alternative non-flash versions of your screencasts? On Tue, Apr 13, 2010 at 10:51 AM, Cristi Duma cristi.d...@aissac.ro wrote: just released episode 8http://radiantcms.org/blog/archives/2010/04/13/radiantcasts-episode-8-radiant-chronicle-extension/, presenting Jason Garber's Chronicle Extension. I'm sure you already heard about it, and I must add it's really great. and if you missed ithttp://radiantcms.org/blog/archives/2010/04/06/radiantcasts-episode-7-radiant-styles-n-scripts-extension/, last week was Styles 'n Scripts Extension (SNS) with SNS-Minifier and SNS-SASS-Filter by Chris Parish. any feedback is greatly appreciated :) thanks, Cristi ___ 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
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] Trailing slash for URLs
On Sat, Apr 10, 2010 at 11:07 AM, Christian Aust christian.a...@software-consultant.net wrote: Hi all, search engines consider URLs /some-page and /some-page/ to be two different pages (well, at least Google analytics does). I'd like to get rid of that. Would you expect Radiant to redirect clients to the trailing-slash-form of an URL, or should that be the duty of the web server above? Any comments are appreciated. Regards, if the issue is people manually typing or linking to your pages in inconsistent ways then i think sticking a rewrite rule in your server config is the easiest way. however if the issue is that your site template uses inconsistent urls then i'd fix that first. ___ 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] Where should I go from 0.7.2?
don't fix it if it ain't broken. On Mon, Apr 5, 2010 at 9:44 AM, Mohit Sindhwani t...@onghu.com wrote: On 4/4/2010 5:16 PM, Mohit Sindhwani wrote: Hello All, It's spring... and I'm getting ready to revamp an old site. Since the site has not been launched for a while, we have gone from a very sketchy prototype in 0.6.7 to a better prototype in 0.6.9. Since then, I have moved it to 0.7.1 and most of the things work fine there. However, as I said, it is spring! We're getting ready to launch the site in a few weeks, and I thought it would be a good time to reconsider if we should move to 0.8.0 or even 0.9.0 - that's where I would like a bit of input! The site uses the following extensions right now: * Admin Breadcrumbs * Aggregation * Blog Tags * Copy Move * Comments (patched by me to avoid rendering error due to wrong level of rendering) * CodeRay * Gallery * paperclipped * Reorder * Radiant Settings * RSpec gems (just so that it all runs) * TEDN (tedn, ezlang) - my own extension for a few minor things What I'm adding right now is: * share layouts * event calendar I think I will also need something that allows people to email a page to others (ar_mailer?) and something that lets them submit feedback to us about the site (I know there's one for this, just can't remember the name). Given these, I am wondering if the extensions all work happily together at a higher version. What do you recommend? Should I move to 0.8.0 or 0.9.0 - or should I just stay at 0.7.1? Any guidance for me? Thanks, Mohit. ___ 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] Where should I go from 0.7.2?
On Mon, Apr 5, 2010 at 12:11 PM, Mohit Sindhwani t...@onghu.com wrote: Thanks, I think we may start with 0.7.1/ 0.7.2 and then move to 0.8.0 or 0.9.0 during the maintenance. i think you're going to have a heck of a time with 0.7.2 :) ___ 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] Is settings extension ready for 0.9?
On Thu, Apr 1, 2010 at 4:10 AM, Xavier Guardiola xavier.guardi...@gmail.com wrote: Im trying to install settings extension to edge but after the installation+migration+update but when I try to access the settings tab the whole app freezes and pops up the following error: Rendered admin/users/_password_fields (19.4ms) Completed in 167ms (View: 145, DB: 4) | 200 OK [ http://localhost/admin/preferences/edit] Thu Apr 01 11:45:41 +0200 2010: Read error: #NoMethodError: undefined method `remove' for #Radiant::AdminUI::NavTab: 0x27f83dc /vendor/extensions/settings/settings_extension.rb:41:in `deactivate' /vendor/radiant/lib/radiant/extension.rb:86:in `deactivate' May this mean settings is still not ready for 0.9? most likely that is what it means. fortunately you don't really need it for anything. you can set any options from the rails console. cd radiant_project script/console Radiant::Config['defaults.page.filter'] = 'Markdown' ... Refer to the wiki for more available options. http://wiki.github.com/radiant/radiant/additional-configuration-options ___ 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] Something strange here
On Thu, Apr 1, 2010 at 3:14 PM, Arlen Walker arlen.wal...@gmail.com wrote: Was working with a development environment when suddenly the admin pages started looking funny, and I'm getting some javascript errors. The js errors are centered around Behavior, which comes from lowpro.js, and I'm noticing that the admin pages aren't loading it correctly. not sure what I screwed up, but when I try to go back and what does the error console have to say about the javascript errors? rebuild from fresh, I'm getting undefined method 'locale' after logging in. this part sounds like you were running an edge version and then updated to a newer edge version and didn't run `rake db:migrate` Any idea what I screwed up? Have Fun, Arlen -- In God we trust, all others must supply data ___ 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] Reorder Extension testing issues
On Tue, Mar 30, 2010 at 9:53 AM, Arlen Walker arlen.wal...@gmail.com wrote: BTW, am I right in assuming there isn't a command to test a specific extension, only one which tests all installed extensions at once? rake spec:extensions EXT=ext_name ___ 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] Newbie Issues with Radiant on Snow Leopard
gem uninstall rack gem install rack -v 1.0.1 On Fri, Mar 26, 2010 at 8:17 AM, Ilan Volow list...@clarux.com wrote: I'm trying out Radiant on my machine, OS X 10.6 Snow Leopard, using the version of Ruby that came with the OS, rails 2.3.5 and Radiant 0.8.1 (which was the version of Radiant installed when I did gem install radiant). I create a test site, I try running the rake production db:bootstrap command and I get the follow error rake aborted! can't activate rack (~ 1.0.0, runtime) for [], already activated rack-1.1.0 for [radiant-0.8.1] Can anyone shed some light on what's happening? ___ 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] Newbie Issues with Radiant on Snow Leopard
On Fri, Mar 26, 2010 at 2:31 PM, Gabe Koss gabe.k...@gmail.com wrote: I have fixed the problem without uninstalling rack. In /lib/action_controller.rb there is a line which specifies the raelck gem version. I was able to change this line to the correct rack version. which fixed my issue. sure you can always hack on the radiant source but that makes upgrades slightly more difficult as you have to keep reapplying your changes. unless you actually need a different version or rack for some other app i think the simplest solution is just to install the older version. That was actually on Ubuntu 9.04 but maybe it'll work on osx. .. Gabe On Mar 26, 2010 2:33 PM, john muhl johnm...@gmail.com wrote: gem uninstall rack gem install rack -v 1.0.1 On Fri, Mar 26, 2010 at 8:17 AM, Ilan Volow list...@clarux.com wrote: I'm trying out Radiant on my machine, OS X 10.6 Snow Leopard, using the version of Ruby that cam... ___ 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] RC to Edge?
On Tue, Mar 23, 2010 at 4:06 PM, Alexis Masters alexismast...@gmail.com wrote: I thought we had upgraded to Radiant Edge for Womensgivingtree.org, but now suspect the guys installed Radiant RC instead. How do you upgrade safely on a site that is up and running? What is the correct shell command to accomplish the upgrade? All help gratefully accepted :-) i hope you're not going to upgrade the actual running application... the commands are: rm -r vendor/radiant # if you have radiant vendor'd already rake radiant:freeze:edge rake radiant:update rake db:migrate # you may need to provide your environment here ___ 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] Virtual Pages and Permissions
Would anyone have any objection to hiding virtual pages from anyone who is not an Admin or Designer in 0.9? It strikes me that virtual pages are mostly used for system specific stuff like FileNotFound pages or ArchiveIndex pages. If we went this route, we would also hide virtual pages from normal users in the PageType dropdown. -- John Long http://wiseheartdesign.com http://recursivecreative.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] 0.9 RC1 suitable for production use?
if you want to use 0.9 i'd recommend using the current master branch as the RC1 release is far, far behind the current work. personally i'm still starting new projects with 0.8.1 mostly because these are sites for clients and being profitable means i don't want to be tracking a moving target; not because 0.9 is unstable or anything. On Tue, Mar 16, 2010 at 4:54 AM, Charles Roper reac...@charlesroper.co.uk wrote: I'm about to start a new Radiant site and was wondering whether I should go with 0.9RC1 or 0.8.1? In the opinion of the community, is RC1 stable enough for production use? Cheers, Charles ___ 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] Problem with MarkDownFilter
On Mon, Mar 15, 2010 at 6:31 PM, Johannes Fritsch nos...@jfritsch.de wrote: Hi! I tested this on a brand new iMac (delivered today) with Snow Leopard: Rails was installed with Aptana RadRails. any version of rails you have installed will be ignored by radiant unless you've hacked it. otherwise the version radiant has in vendor will be used. so that's not the problem. From there on i did: sudo gem install radiant sudo gem install rake --version 1.0.1 // Or similar, can not remember which one radiant required radiant --database=sqlite3 myTest cd myTest % rake radiant:freeze:edge % rake radiant:update % rake db:migrate (According to install notes for bleeding edge) % rake db:bootstrap - Leaving all default, i've choosen empty template Everything works fine except for MarkDownFilter. When i put that on a page i get the following error: NameError in SiteController#show_page undefined local variable or method `auto_ids' for #MarkdownFilter:0x10314f218 auto_ids is from kramdown. Is the trunk broken or is it my fault and i'm doing something wrong? Can anyone reproduce this? i cannot reproduce it here following the exact steps you've listed. do you get any other error messages in your logs? and could you provide more information about your environment; windows, linux, mac; ruby version; etc. that way i can have a go at reproducing it in an environment that more closely matches the one you're using. ___ 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] Problem with MarkDownFilter
could you try it again with the current master branch. i committed a change which at least in my testing seems to have cleared up the issue. sorry for the inconvenience. On Mon, Mar 15, 2010 at 6:31 PM, Johannes Fritsch nos...@jfritsch.de wrote: Hi! I tested this on a brand new iMac (delivered today) with Snow Leopard: Rails was installed with Aptana RadRails. From there on i did: sudo gem install radiant sudo gem install rake --version 1.0.1 // Or similar, can not remember which one radiant required radiant --database=sqlite3 myTest cd myTest % rake radiant:freeze:edge % rake radiant:update % rake db:migrate (According to install notes for bleeding edge) % rake db:bootstrap - Leaving all default, i've choosen empty template Everything works fine except for MarkDownFilter. When i put that on a page i get the following error: NameError in SiteController#show_page undefined local variable or method `auto_ids' for #MarkdownFilter:0x10314f218 Is the trunk broken or is it my fault and i'm doing something wrong? Can anyone reproduce this? Best regards Johannes Fritsch ___ 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] Can't delete page parts
Is this a fresh Radiant install or one that you upgraded? If you upgraded, it could be that you still need to update the javascripts: rake radiant:update:javascripts -- John Long http://wiseheartdesign.com http://recursivecreative.com On Wed, Mar 10, 2010 at 11:57 PM, Shaolo ot...@shaolo.com wrote: OK, looked. It is 2.3.4. Still can't delete the parts though. They delete but the change is never saved. Can't see any errors in the production.log. On Wed, Mar 10, 2010 at 4:47 PM, Arthur Gunn art...@gunn.co.nz wrote: Hi Shaolo, Rails 2.3.5 with 0.8.1? Is that what you get from running ./script/server? I'm pretty sure 0.8.1 needs rails 2.3.4. Check that, otherwise I'm not sure. -Arthur ___ 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 -- - Shawn Wilton - (503) 881-2707 [Leave a message] ___ 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] Proposal: Generic Conditionals for Radiant
I just finished polishing off a blog post for an idea I have for giving Radiant generic conditional tags. It preserves the existing syntax adding r:if and r:unless, in addition to r:case, r:when, and r:else. You can read the full article here: http://wiseheartdesign.com/articles/2010/03/11/proposal-generic-conditionals-for-radiant-cms/ I would love to hear feedback from the community this. It would be great if someone could pull together an extension so that we could play with this. Does anyone have time to put something together? -- John Long http://wiseheartdesign.com http://recursivecreative.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] how do I add git submodule for reader extension
i'm not 100% but it may just not be updated to work with 0.9 yet. On Sun, Mar 7, 2010 at 11:36 PM, Daniel O'Connell d...@mac.com wrote: Im able to install and run migrate/update tasks. But when I try to create a reader I get this: Connection refused - connect(2) RAILS_ROOT: /Users/dev/Sites/gla1 Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `initialize' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `open' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' /usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' /usr/local/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /usr/local/lib/ruby/1.8/net/smtp.rb:525:in `start' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:682:in `perform_delivery_smtp' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:523:in `__send__' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:523:in `deliver!' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionmailer/lib/action_mailer/base.rb:395:in `method_missing' /Users/dev/Sites/gla1/vendor/extensions/reader/app/models/message.rb:93:in `deliver_to' /Users/dev/Sites/gla1/vendor/extensions/reader/app/models/reader.rb:75:in `send_functional_message' /Users/dev/Sites/gla1/vendor/extensions/reader/app/models/reader.rb:67:in `send_invitation_message' /Users/dev/Sites/gla1/vendor/extensions/reader/app/controllers/admin/readers_controller.rb:11:in `create' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `send' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `sass_old_process' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in `process' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
Re: [Radiant] Tags for Last edited?
If you only need to deal with the children of a page you can do what you want with the children:each tag. There is no way to do this for pages on the whole site. That would be a useful extension though. -- John Long http://wiseheartdesign.com http://recursivecreative.com On Mon, Mar 1, 2010 at 5:53 AM, Christian Aust christian.a...@software-consultant.net wrote: Hi all, are there any radius tags that would allow me to build a last edited snippet, that will display n pages ordered desc by their changed_at attribute, regardless of their url? It's no big deal, if there's none yet, I'd build one. Like, r:any limit=4 by=updated_at order=desc.../r:any Regards, Christian ___ 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] Issue with FBML/namespaced tags and Radius
This isn't actually the place to post support questions on Radius (unless of course your questions are Radiant specific). The proper place Radius questions is the issue tracker on GitHub: http://github.com/jlong/radius/issues If you post it there Bryce Kerley may be able to help you with it. He recently rewrote the parser for Radius but there have been a couple of nagging issues. Out of curiosity does it work with Radius 0.5.1? -- John Long http://wiseheartdesign.com http://recursivecreative.com On Mon, Mar 1, 2010 at 4:58 PM, Toby Hede tobyh...@info-architects.net wrote: I am experiencing issues when using FBML inside my content. When I supply a tags like the following to my template: fb:profile-pic uid=loggedinuser size=square/fb:profile-pic Radiant gets confused, incorrectly parsing the close tag and outputting: fb:profile-pic uid=loggedinuser size=square /fb:profile-pic ... which in turn breaks the FBML parsing engine. I am not using the fb prefix for Radius, so there is no clash, and indeed, I can get many of the tags to work by using the self-closing format: fb:profile-pic uid=loggedinuser size=square/ Self-closing is fine in many cases, but being able to provide content for a tag means that there is content visible while the Facebook connect engine loads. Is there a workaround for this issue? Ideas on how to fix? ___ 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 Upgrade from 0.5.2 to 0.8.1 Please help
i don't think you'll be able to upgrade in one easy step. i'd recommend taking small steps to get to 0.8.1; such as 0.5.2 = 0.6.0 = 0.6.4 = 0.6.9 = 0.7.1 = 0.8.1 On Fri, Feb 19, 2010 at 11:12 AM, Hugo Villero hvill...@gmail.com wrote: Hi There, I know this could be a recall situation but, I have to upgrade a my site from Radiant 0.5.2 to Radiant 0.8.1, I was following the docs but that doesn't work, I looks like the current tables like pages on others have to change in some fields and contents. Is there someone with a very good document about that some URLs or experience doing that? Please help me and let me know, Hvillero ___ 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] Design Help Needed! A Call To Action
Howdy folks, Just wanted wanted to issue a public call to action for those of you who may be interested in helping out on Radiant's design: http://wiseheartdesign.com/articles/2010/02/17/open-source-design-help-needed/ I'm looking for a few good men. Or women whatever the case may be. :) Seriously, if you'd like to help, that's a roadmap how-to article on how to get started. Please, please send this around to all of your designer friends. I would love to see if we can make this work and have been disappointed we don't have more people contributing to the design effort. -- John Long http://wiseheartdesign.com http://recursivecreative.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] wiki vandalism
http://wiki.github.com/radiant/radiant/radiant-users has pretty much been ruined by a spammer. after bringing it to the attention of github they banned the user but all the spam they left is still there. if you have a valid listing on that page perhaps you could move it to another list above the current one then when time permits someone could go through the remainder and get rid of the spam. the github support guy said the page itself is probably going to be a hotspot for spam so if anyone has any ideas on someway to reduce the chance of future spam there i'm all ears. maybe just changing to a more complicated style (like the radiant pros page) would make it easier to spot. ___ 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] Trouble install concurrent_draft extension
are you using the 0.7.1 tag or the master branch? if the latter you might try switching to the former and running the migrate/update commands by hand. On Thu, Feb 11, 2010 at 3:32 PM, Stan Rawrysz smoo...@gmail.com wrote: I'm trying to install the concurrent_draft extension, but I'm guessing I'm missing a plugin or something. Running Radiant 0.7.1 Rails 2.3.5 (installed through macports) OS X 10.6 PostgreSQL Error while installing: $ script/extension install concurrent_draft Initialized empty Git repository in /private/var/folders/DM/DMD0iVG4Fb0a50Z09mRvnU+++TI/-Tmp-/concurrent_draft/.git/ remote: Counting objects: 506, done. remote: Compressing objects: 100% (279/279), done. remote: Total 506 (delta 233), reused 329 (delta 138) Receiving objects: 100% (506/506), 71.54 KiB, done. Resolving deltas: 100% (233/233), done. rake aborted! undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (See full trace by running task with --trace) rake aborted! undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (See full trace by running task with --trace) - Error at runtime: $ script/server = Booting Mongrel (use 'script/server webrick' to force WEBrick) = Rails 2.1.2 application starting on http://0.0.0.0:3000 = Call with -d to detach = Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Exiting /opt/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (NameError) Did a bit of searching for this error and found a thread about rails-unobtrusive-date-picker, but I think that's a red herring. http://code.google.com/p/rails-unobtrusive-date-picker/issues/detail?id=17 If anyone can help, that would be awesome. Stan ___ 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] Trouble install concurrent_draft extension
i meant are you running the 0.7.1 tag or the master branch of the concurrent_draft extension. if you used script/extension install chances are you're on master. try this: cd vendor/extensions/concurrent_draft git checkout 0.7.1 cd ../../.. rake radiant:extensions:concurrent_draft:migrate rake radiant:extensions:concurrent_draft:update On Thu, Feb 11, 2010 at 4:47 PM, Stan Rawrysz smoo...@gmail.com wrote: I have inherited the project from another developer. I'm not sure I understand your question, either. I'm pretty sure it was created from the gem. And a correction below, it is not running 2.3.5, it's actually 2.1.2 like it's supposed to. Thanks, Stan On Thu, Feb 11, 2010 at 1:46 PM, john muhl johnm...@gmail.com wrote: are you using the 0.7.1 tag or the master branch? if the latter you might try switching to the former and running the migrate/update commands by hand. On Thu, Feb 11, 2010 at 3:32 PM, Stan Rawrysz smoo...@gmail.com wrote: I'm trying to install the concurrent_draft extension, but I'm guessing I'm missing a plugin or something. Running Radiant 0.7.1 Rails 2.3.5 (installed through macports) OS X 10.6 PostgreSQL Error while installing: $ script/extension install concurrent_draft Initialized empty Git repository in /private/var/folders/DM/DMD0iVG4Fb0a50Z09mRvnU+++TI/-Tmp-/concurrent_draft/.git/ remote: Counting objects: 506, done. remote: Compressing objects: 100% (279/279), done. remote: Total 506 (delta 233), reused 329 (delta 138) Receiving objects: 100% (506/506), 71.54 KiB, done. Resolving deltas: 100% (233/233), done. rake aborted! undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (See full trace by running task with --trace) rake aborted! undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (See full trace by running task with --trace) - Error at runtime: $ script/server = Booting Mongrel (use 'script/server webrick' to force WEBrick) = Rails 2.1.2 application starting on http://0.0.0.0:3000 = Call with -d to detach = Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Exiting /opt/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `select_hour' for class `ActionView::Helpers::DateTimeSelector' (NameError) Did a bit of searching for this error and found a thread about rails-unobtrusive-date-picker, but I think that's a red herring. http://code.google.com/p/rails-unobtrusive-date-picker/issues/detail?id=17 If anyone can help, that would be awesome. Stan ___ 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] Volunteers Needed! Extension Registry Maintainers
Howdy folks, I just deployed a change this evening that will allow me to give admin rights to users of the extension registry. Users with admin rights have the ability to edit or delete any extension. If you would be interested in helping maintain the extension registry please contact me directly. I am looking for a couple of people who can make sure that extensions added to the registry have good descriptions, accurate URLs, screenshots, etc... who are willing to make a commitment to spend an hour or two every few weeks looking over entries for new extensions and maintaining the old entries. You need should have experience installing extensions and enjoy writing and editing. If you are looking for a way to give back to the community this is a fantastic way to get involved! Special thanks to Michael Hale for helping me implement this feature. -- John Long http://wiseheartdesign.com http://recursivecreative.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] restart server on site5
http://wiki.github.com/radiant/radiant/installing-on-site5 says they support passenger so if you're using that then `touch tmp/restart.txt` should do the trick. if not you'll have to figure out what application server you are using before anyone can tell you how to restart it. On Wed, Feb 3, 2010 at 11:15 AM, Ming Pan fallspin...@gmail.com wrote: Hi, I've been using the web hosting service provided by site5.com, and it seems to be working well with radiant cms. But I've never figured out the right way to restart server, which is often required while adding new extensions or changing environment.rb. I searched around and tried many things like to touch public/dispatch.fcgi, touch tmp/restart.txt, kill ruby process, ..., but never knew which one worked or not or worked properly. Anyone knows about that? And how to determine the server has been restarted properly? For example, anything to look for in the log file? I'm asking this question because I'm having trouble with the mailer extension and I suspect that I'm not restarting the server properly. Thanks. ming ___ 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 Installation Failing Using Ruby 1.9.1/1.8.7
On Wed, Feb 3, 2010 at 4:18 PM, Conrad Taylor conra...@gmail.com wrote: On Wed, Feb 3, 2010 at 4:31 PM, Jake Skedgell jjskedg...@gmail.com wrote: This 0.8.2 bug fix release would be very welcome. There is also a problem with the bundled Rails that conflicts with the new Rack 1.1.0. I don't know how easily that could be fixed. It's not really a Radiant bug. Any idea when we can expect 0.9 to be finished? Jake Skedgell Does anyone know which version of Rails is being used with the current github version of Radiant? http://github.com/radiant/radiant/tree/master/vendor/rails/ ___ 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] trouble installing mailer extension
On Mon, Feb 1, 2010 at 2:48 PM, Ming Pan fallspin...@gmail.com wrote: Dear List, I was trying to install the mailer extension. First I tried ./script/extension install mailer, and I got the following errors: + Initialized empty Git repository in /tmp/mailer/.git/ remote: Counting objects: 184, done. remote: Compressing objects: 100% (168/168), done. remote: Total 184 (delta 72), reused 25 (delta 1) Receiving objects: 100% (184/184), 35.66 KiB, done. Resolving deltas: 100% (72/72), done. rake aborted! Mysql::Error: Table 'lovebaob_radiantdev.extension_meta' doesn't exist: SELECT schema_version FROM extension_meta WHERE name = 'Mailer' (See full trace by running task with --trace) rake aborted! Don't know how to build task 'radiant:extensions:mailer:update' (See full trace by running task with --trace) + Then I tried to do it manually, and the errors are basically the same: + (in /home/lovebaob/radapp) rake aborted! Mysql::Error: Table 'lovebaob_radiantdev.extension_meta' doesn't exist: SELECT schema_version FROM extension_meta WHERE name = 'Mailer' (See full trace by running task with --trace) + I checked my databases and the table extension_meta only exists in my production database and not in the development database. Any idea how I should fix the problem? run the install command against your production database like so `script/extension install mailer RAILS_ENV=production` ___ 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] trouble installing mailer extension
there is no update task for mailer which is why you see the error. just to be safe `script/extension install` tries to run both migrate and update regardless of if they exist or not. so when installing a Don't know how to build task 'XYZ' message is harmless; it just means that task does not exist. you need to restart your application server (passenger, mongrel, thin, unicorn etc. etc.) after installing extensions. On Mon, Feb 1, 2010 at 3:02 PM, Ming Pan fallspin...@gmail.com wrote: Thanks so much John! Now I went through the migrate step successfully, but it gave errors on the update step: (in /home/lovebaob/radapp) rake aborted! Don't know how to build task 'radiant:extensions:mailer:update' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1704:in `[]' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2026:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 Is this update step required by the mailer extension? I reloaded my admin/extensions page and mailer is not there. ming ___ 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] trouble installing mailer extension
On Mon, Feb 1, 2010 at 3:14 PM, Jim Gay j...@saturnflyer.com wrote: If you've got specs for your changes to script/extension (which skips the migrate and update tasks if they don't exist) go ahead and push them into the master branch. I meant to take a look at your work on that a long time ago, but haven't gotten around to it. i'm pretty sure i abandoned that before i got it to do anything useful like checking for tasks before running them. in the time since the installer was added it seems this comes up rarely enough that complicating things is probably not worth it. perhaps something in the creating extensions part of the wiki that informs authors their extension will spit up errors if they don't provide (at least empty) tasks would help. now that i think about it again though the simplest solution seems like it would be to stub out rake tasks like This extension does not have a migrate/update task upon extension creation. at least that way authors who forget about it wouldn't these have error messages. I'm personally in favor of a single install task. and a single uninstall task! :) On Mon, Feb 1, 2010 at 4:02 PM, Ming Pan fallspin...@gmail.com wrote: Thanks so much John! Now I went through the migrate step successfully, but it gave errors on the update step: (in /home/lovebaob/radapp) rake aborted! Don't know how to build task 'radiant:extensions:mailer:update' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1704:in `[]' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2026:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 Is this update step required by the mailer extension? I reloaded my admin/extensions page and mailer is not there. ming ___ 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 -- Jim Gay Saturn Flyer LLC j...@saturnflyer.com http://www.saturnflyer.com 571-403-0338 ___ 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] next 15
On Mon, Feb 1, 2010 at 4:05 PM, Steven Southard ste...@stevensouthard.com wrote: I've kind of rethought this and I think the url parameter idea might cause problems with search engines. If the resulting link creates a url like ...?offset=15 I'm not sure search engines will ever find this content. i'm not an seo expert by any stretch but i don't think it matters. presumably all the items your paginating also reside on individual pages in your sitemap so even if some search engine spider skips a page like /items?page=4 it should still see the /items/19 page and index that. Is Paginate what John used for Extension Registry? looks like it http://github.com/radiant/radiant-extension-registry/blob/master/.gitmodules On Jan 5, 2010, at 3:29 PM, Steven Southard wrote: I've never understood the purpose of that extension, that's what it does? The offset with parameters was easy and didn't require any additional pages or anything. Thank you both for your help. Steven On Jan 5, 2010, at 3:07 PM, john muhl wrote: i've never used it personally (though i've had good results with other extensions from aissac) but you might try the paginate extension: http://github.com/Aissac/radiant-paginate-extension On Tue, Jan 5, 2010 at 2:59 PM, Steven Southard ste...@stevensouthard.com wrote: Okay great, very smart. Maybe just use parameters in the url to determine the offset? On Jan 5, 2010, at 2:53 PM, Sean Cribbs wrote: Steven, You should be able to add an offset attribute to the r:children:each tag. But yes, you'll likely need to create another page, or a virtual page that can deal with pagination of those aggregated children. Sean On 1/5/10 3:41 PM, Steven Southard wrote: When using a tag liker:aggregate urls=/articles/; / other_articles/;r:children:each limit=15 order=desc is there a way to ask for the next 15? Do I need to make another archive page to link to for that? Steven ___ 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 ___ 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/ 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] trouble packaging extension as gem
On Tue, Jan 26, 2010 at 8:32 AM, Josh French j...@digitalpulp.com wrote: i'm at loss now for why it's not appearing in the drop down when loaded as a gem. no errors or anything unusual just a missing filter. I'm actually at a loss as to why it would appear when vendored if you're not explicitly loading that subclass. Radiant doesn't do any pre-loading of filter subclasses in the way that it automatically seeks out and loads Page subclasses. If you look at the textile and markdown extensions that ship within core, you'll see that both of them explicitly load the filter subclass within their #activate methods. It'll be safer to follow their example. huh? so you mean this: --- require 'kramdown' class KramdownFilterExtension Radiant::Extension version 1.0 description kramdown is a fast pure-Ruby Markdown converter. url http://kramdown.rubyforge.org/index.html; def activate KramdownFilter end end --- is not explicitly enough? i can't see how that is any different to what the markdown or textile extensions do but i guess it's not. could someone explain how to make it explicit enough for the gem loader? textile_filter --- class TextileFilterExtension Radiant::Extension version 1.0 description Allows you to compose page parts or snippets using the Textile text filter. url http://textism.com/tools/textile/; def activate TextileFilter Page.send :include, TextileTags end end --- markdown_filter --- class MarkdownFilterExtension Radiant::Extension version 1.0 description Allows you to compose page parts or snippets using the Markdown or SmartyPants text filters. url http://daringfireball.net/projects/markdown/; def activate MarkdownFilter SmartyPantsFilter Page.send :include, MarkdownTags end end --- ___ 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] trouble packaging extension as gem
just noticed that extracting the textile_filter extension out into a gem also fails in the exact same ways that i've run into... On Tue, Jan 26, 2010 at 9:13 AM, john muhl johnm...@gmail.com wrote: On Tue, Jan 26, 2010 at 8:32 AM, Josh French j...@digitalpulp.com wrote: i'm at loss now for why it's not appearing in the drop down when loaded as a gem. no errors or anything unusual just a missing filter. I'm actually at a loss as to why it would appear when vendored if you're not explicitly loading that subclass. Radiant doesn't do any pre-loading of filter subclasses in the way that it automatically seeks out and loads Page subclasses. If you look at the textile and markdown extensions that ship within core, you'll see that both of them explicitly load the filter subclass within their #activate methods. It'll be safer to follow their example. or are you talking about this not being explicit enough? --- class KramdownFilter TextFilter description_file File.dirname(__FILE__) + /../markdown.html def filter(text) Kramdown::Document.new(RubyPants.new(text).to_html).to_html end end --- textile_filter --- class TextileFilter TextFilter description_file File.dirname(__FILE__) + /../textile.html def filter(text) RedCloth.new(text).to_html end end --- markdown_filter --- class MarkdownFilter TextFilter description_file File.dirname(__FILE__) + /../markdown.html def filter(text) if defined? RDiscount RDiscount.new(text, :smart).to_html else RubyPants.new(BlueCloth.new(text).to_html).to_html end end end --- again looks the same to me. ___ 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] trouble packaging extension as gem
i hope someone can point out what stupid thing i've done in my first attempt to package an extension as a gem. http://gist.github.com/286072 the extension works fine as a regular extension. i'm trying this on the edge (current as of about an hour ago). ___ 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] Problem with Settings extension
On Mon, Jan 25, 2010 at 11:17 AM, James Maskell ja...@jamesmaskell.co.uk wrote: Thanks - solved the problem. I had assumed ray would have made the necessary migrations when I installed the extension. ray should have; and does as far as i can tell. rake ray:i name=settings ... rake -q RAILS_ENV=development radiant:extensions:settings:migrate ... rake -q RAILS_ENV=development radiant:extensions:settings:update ... 2010/1/25 banane ban...@gmail.com Hasselwanter is right, in your Radiant root run rake radiant:extensions:settings:migrate RAILS_ENV=[your environment dev, test, prod, etc.] On Mon, Jan 25, 2010 at 9:07 AM, Haselwanter Edmund edm...@haselwanter.com wrote: On 25.01.2010, at 18:00, James Maskell wrote: ActionView::TemplateError (undefined method `description' for #Radiant::Config:0xb6eafb94) on line #21 of vendor/extensions/settings/app/views/admin/settings/edit.html.haml: 18: Did you run the migration for the settings extension? You miss a column in the config table named 'description' cu edi -- DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.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 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] trouble packaging extension as gem
both suggestions seem to fix the boot problem but now i don't see the new filter in the drop down. although i do see the extension listed on the extensions page. On Mon, Jan 25, 2010 at 1:05 PM, Sean Cribbs seancri...@gmail.com wrote: Actually, I imagine :lib = false would do the trick -- gem requirements are loaded before extensions. As long as your extension file explicitly loads that text filter, you should be fine. Sean On 1/25/10 1:51 PM, Jim Gay wrote: On Jan 25, 2010, at 1:08 PM, john muhl wrote: i hope someone can point out what stupid thing i've done in my first attempt to package an extension as a gem. http://gist.github.com/286072 the extension works fine as a regular extension. i'm trying this on the edge (current as of about an hour ago). It's probably a load order problem. Radiant adds the method to_name to String and perhaps it doesn't exist when KramdownFilter is loaded. http://github.com/radiant/radiant/blob/master/lib/plugins/string_extensions/lib/string_extensions.rb#L10-L12 Perhaps you can require that file in the extension, or maybe Radiant needs to address this by changing the load order ( since extensions as gems is the future). -Jim 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 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] trouble packaging extension as gem
by explicitly loads that text filter you just mean having: def activate KramdownFilter end right? i'm at loss now for why it's not appearing in the drop down when loaded as a gem. no errors or anything unusual just a missing filter. On Mon, Jan 25, 2010 at 1:05 PM, Sean Cribbs seancri...@gmail.com wrote: Actually, I imagine :lib = false would do the trick -- gem requirements are loaded before extensions. As long as your extension file explicitly loads that text filter, you should be fine. Sean On 1/25/10 1:51 PM, Jim Gay wrote: On Jan 25, 2010, at 1:08 PM, john muhl wrote: i hope someone can point out what stupid thing i've done in my first attempt to package an extension as a gem. http://gist.github.com/286072 the extension works fine as a regular extension. i'm trying this on the edge (current as of about an hour ago). It's probably a load order problem. Radiant adds the method to_name to String and perhaps it doesn't exist when KramdownFilter is loaded. http://github.com/radiant/radiant/blob/master/lib/plugins/string_extensions/lib/string_extensions.rb#L10-L12 Perhaps you can require that file in the extension, or maybe Radiant needs to address this by changing the load order ( since extensions as gems is the future). -Jim 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 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] Wordpress migration
On Thu, Jan 21, 2010 at 12:10 AM, Jim Gay j...@saturnflyer.com wrote: Because it's just a bunch of hacks and I think that things on the registry should be complete, or more friendly to the inexperienced. But I suppose that it would be helpful to others looking for a way to move from WordPress. Here it is: http://ext.radiantcms.org/extensions/190-wordpress-migrator Thanks Jim. Quality can definitely be improved over time. A disclaimer in the extension description might be appropriate, but I think it's better for the the registry to be a comprehensive list of extensions. It seems important for people to see it as *the* place to hunt for extensions. In the past it's been the registry, the wiki, github, google, etc. Far too many options. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Wordpress migration
On Wed, Jan 20, 2010 at 12:15 PM, Jim Gay j...@saturnflyer.com wrote: I'm happy to apply patches if you have any. There's also no documentation, so if you care to add that, I'll make it official and put it on the extension registry. Can we put it on the extension registry even without the documentation? I mean, why wait? -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] More 'Rails app to Radiant extension' questions
On Tue, Jan 12, 2010 at 9:22 AM, Asfand Yar Qazi ayq...@gmail.com wrote: 2010/1/11 banane ban...@gmail.com: Put the routes.rb stuff in [yourapplication]_extension.rb You can extend ActiveRecord, just like in Rails. Rails is embedded in Radiant, so it works pretty much the same. Put the testing stuff in /rspec, test as usual. And what about selenium on rails tests? That is another stickler. Another question: My app currently uses several plugins it needs. If I make my app an extension, where do those plugins go? If I simply move them to the Radiant app, won't that make upgrading difficult? if your rails app has vendor/plugins/xyz then your extension would have vendor/plugins/xyz. for example: /rails_app/vendor/plugins/xyz /radiant_app/vendor/extensions/your_extension/vendor/plugins/xyz ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Cucumber Newbie
Hi, I'm pretty new to using cucumber, and until today I've never tried it with radiant. I was hoping to build some new extensions using it, however I've come up against a road block. I'm running on the radiantcms edge and using the following gems and their dependencies cucumber 0.5.1 cucumber-rails 0.2.3 The error I'm getting this error uninitialized constant Cucumber::Rails (NameError) /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant' /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /Users/johnpolling/Sites/theled/vendor/radiant/features/support/dataset.rb:1 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `polyglot_original_require' /Library/Ruby/Gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb:70:in `require' /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require' ./features/support/env.rb:7 ./features/support/env.rb:7:in `each' ./features/support/env.rb:7 Has anyone else had this problem. Do I need to be using an earlier version of cucumber? Is there a special way to create extensions to work with cucumber? Thanks John ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Cucumber Newbie
Ok, at least it's not something stupid I'm doing! :) Is there a simple around this, so I can use cucumber for my own extension writing? Thanks John On 10 Jan 2010, at 14:41, Sean Cribbs seancri...@gmail.com wrote: John, Sorry, we haven't kept up with Cucumber's changes very well. The stories are currently broken on edge. There's a Saturday Hack Day later this month where we'll probably resolve that. Sean On 1/10/10 5:53 AM, John Polling wrote: Hi, I'm pretty new to using cucumber, and until today I've never tried it with radiant. I was hoping to build some new extensions using it, however I've come up against a road block. I'm running on the radiantcms edge and using the following gems and their dependencies cucumber 0.5.1 cucumber-rails 0.2.3 The error I'm getting this error uninitialized constant Cucumber::Rails (NameError) /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/ activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant' /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/ activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /Users/johnpolling/Sites/theled/vendor/radiant/features/support/ dataset.rb:1 /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `polyglot_original_require' /Library/Ruby/Gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb:70:in `require' /Users/johnpolling/Sites/theled/vendor/radiant/vendor/rails/ activesupport/lib/active_support/dependencies.rb:158:in `require' ./features/support/env.rb:7 ./features/support/env.rb:7:in `each' ./features/support/env.rb:7 Has anyone else had this problem. Do I need to be using an earlier version of cucumber? Is there a special way to create extensions to work with cucumber? Thanks John ___ 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] [ANN] Updated Extension Registry
On Thu, Jan 7, 2010 at 12:36 AM, Steven Southard ste...@stevensouthard.com wrote: I was thinking a list all button would give me what I've grown to find useful while not impeding your vision for this site. Thanks for your consideration. I've added: http://ext.radiantcms.org/extensions/all There is no actual link to this as I'd like to avoid encouraging people to use this because it could cause excessive load to the system (one day). Consider it an undocumented feature. I wonder if a larger more generous picture right into to the body of the extension page would be nice. I did see clicking on the image once the page was open brought the picture to full size. Thank you I'm looking forward to see all of those images in there. I agree that the screenshots are too small on the extension page. I'm not going to get to this immediately, but I've created an issue for it here: http://github.com/radiant/radiant-extension-registry/issues/#issue/9 One other thing. The for hire button is just a great job. Using so many of these extensions, taking them a part, and changing them to fit my needs I've gotten to see some of the brilliance that has made them. I truly hope the contributors continue to find reward past our many thanks for their efforts. This is my hope as well. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Sharing radiant layouts with another Rails _application_ (not controller)
commodity and consumer look like they may be what you are looking for: http://ext.radiantcms.org/extensions/124-commodity -- John Long http://wiseheartdesign.com http://recursivecreative.com On Tue, Jan 5, 2010 at 12:45 PM, Asfand Yar Qazi ayq...@gmail.com wrote: Hi, I know I can use a plugin to let a controller independant of Radiant to use Radiant's layout. But what if I have 2 applications - one with custom functionality, one as the Radiant CMS - serving the same 'site' on different paths, how I can I share as much of the layout as possible without having to copy/paste? Thanks ___ 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] [ANN] Updated Extension Registry
On Wed, Jan 6, 2010 at 3:07 AM, John Long johnwlong2...@gmail.com wrote: * Available for Hire - you can now list that you are available for hire if you are interested in developing Radiant extensions professionally Just incase you missed this, if you are an extension author that does Radiant work professionally be sure to check the available for hire checkbox on your profile. This will cause an Available for Hire badge to be displayed on your profile and on the authors listing. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated Extension Registry
On Wed, Jan 6, 2010 at 1:37 PM, Steven Southard ste...@stevensouthard.com wrote: It truly looks great. Really a big improvement. Thank you. Your design brings in a lot of cool new features and personalizes the extensions and there creators in a great way. Thanks for the kind words Stephen. It's been a fun little holiday project. I was wondering if you would mind including a list all button next to the next button. I've grown quite fond of using my browser's find to do word searches. Also sometimes it's easier to scroll through the whole list to find things you might not of even known to type in a search field. Is your concern not wasting time between page loads? I mean search is pretty snappy for me at the moment, and pagination is blazing fast. Definitely open to the idea, just wondering if new methods are in order. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] next 15
i've never used it personally (though i've had good results with other extensions from aissac) but you might try the paginate extension: http://github.com/Aissac/radiant-paginate-extension On Tue, Jan 5, 2010 at 2:59 PM, Steven Southard ste...@stevensouthard.com wrote: Okay great, very smart. Maybe just use parameters in the url to determine the offset? On Jan 5, 2010, at 2:53 PM, Sean Cribbs wrote: Steven, You should be able to add an offset attribute to the r:children:each tag. But yes, you'll likely need to create another page, or a virtual page that can deal with pagination of those aggregated children. Sean On 1/5/10 3:41 PM, Steven Southard wrote: When using a tag liker:aggregate urls=/articles/; / other_articles/;r:children:each limit=15 order=desc is there a way to ask for the next 15? Do I need to make another archive page to link to for that? Steven ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Thinking Sphinx
Hi, I've recently upgraded to the 1.3.14 gem version of Thinking Sphinx and I know get this error when both running a search and running rake ts:index You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil. I've managed to pinpoint the problem to the define_index method in the SphinxSearch PageExtensions module. As soon as I remove this method all works fine. I'm not certain what the exact problem is in this method though. If anyone can quickly enlighten me it would be much appreciated. Thanks John ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Port number.....
radiant does not set any port number. it is set by your application server (mongrel, thin, unicorn etc.). On Mon, Jan 4, 2010 at 2:29 PM, David Passmore d...@psu.edu wrote: Installation of Radiant sets port 8080. How do I change this port number? ___ 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] radiant::cache, nginx and :use_x_accel_redirect
today i had go at upgrading a 0.6.9 app (which used a very old patch to make x-accel-redirect work with radiant's ResponseCache) to 0.8.1 and ran into (what i'm guessing is) an issue with radiant::cache, :use_x_accel_redirect option and firefox. under the following conditions firefox will receive a response with an application/octet-stream content-type header and prompts me to save an untyped data file. 1. rm -rf tmp/cache/*/* 2. load a page in firefox 3. verify entity and meta cache entries were created 4. reload the page - 304 not modified response - see the custom X-Accel-Redirect header i set in nginx - see all the headers set by radiant 5. edit and save the page that has been cached 6. verify that new entity and meta cache entries were created 7. reload the page and get prompted to save untyped data (i'm guessing that step 5 could be replaced by waiting five minutes for the cache to expire) i've only been able to reproduce this in firefox (versions 1.0.7, 1.5.0.7, 2.0.0.20, 3.0.12 and 3.5.6) which seems to be the only browser (and i tested in about 15 different versions of various browsers) that gets a 304 response when clicking the reload button. has anyone else experienced similar behavior or have any advice on what i'm doing wrong in my configuration? the relavent bits are: environment.rb config.middleware.use ::Radiant::Cache, :use_x_accel_redirect = '/entity' nginx.conf location /entity { internal; root /radiant/tmp/cache; } ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] How to improve site performance?
some things that come to mind immediately: - make sure you are not serving css and/or js from radiant - make sure you have mod_deflate setup up to compress all text files - avoid excessive use of page parts - avoid using paperclipped or page_attachments for design assets (like your logo or icons or things that don't need to be managed by your content editors) On Mon, Dec 28, 2009 at 6:20 PM, Rob Levin roblevinten...@gmail.com wrote: I've just started working at a place that is using Radiant for it's web site and I've noticed our general pages are usually somewhere around 150kb and take, on my system, around 800ms. FWIW, just now dslreports showed my download speed (on my client box) avg at around 5000Kb. Since it's a small start-up I'm going to be the one to further tune site's performance. That being said, I'm not a sysadmin nor do I have experience in this sort of thing (disclaimer). We are using Radiant version 0.8.1 with Apache/2.0.52 (Red Hat) Server on RH4 (don't ask) and using Passenger with ruby enterprise edition: 1.8.6 (2008-08-11 patchlevel 287) Ruby Enterprise Edition 20090610. We have our own dev server but for production we're using server beach. Looking at our Radiant instance's /config/environment.rb file I noticed the following line so it looks like Radiant caching is on right? config.middleware.use ::Radiant::Cache So my questions are: What would be a checklist of things that may be degrading our site's performance? Besides generally reducing http calls and sizes, what Radiant specific stuff can I do to speed things up? Even links to relevant Radiant docs would be helpful. What would be a good time per size metric to shoot for? Thanks all! ___ 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] How to improve site performance?
oh and i'd think 300-400ms or less spent inside the rails process would be sufficient for all but the most performance critical applications since your web server should be able to serve the rest of your page (static assets, css, js) in less than 100ms On Mon, Dec 28, 2009 at 6:49 PM, john muhl johnm...@gmail.com wrote: some things that come to mind immediately: - make sure you are not serving css and/or js from radiant - make sure you have mod_deflate setup up to compress all text files - avoid excessive use of page parts - avoid using paperclipped or page_attachments for design assets (like your logo or icons or things that don't need to be managed by your content editors) On Mon, Dec 28, 2009 at 6:20 PM, Rob Levin roblevinten...@gmail.com wrote: I've just started working at a place that is using Radiant for it's web site and I've noticed our general pages are usually somewhere around 150kb and take, on my system, around 800ms. FWIW, just now dslreports showed my download speed (on my client box) avg at around 5000Kb. Since it's a small start-up I'm going to be the one to further tune site's performance. That being said, I'm not a sysadmin nor do I have experience in this sort of thing (disclaimer). We are using Radiant version 0.8.1 with Apache/2.0.52 (Red Hat) Server on RH4 (don't ask) and using Passenger with ruby enterprise edition: 1.8.6 (2008-08-11 patchlevel 287) Ruby Enterprise Edition 20090610. We have our own dev server but for production we're using server beach. Looking at our Radiant instance's /config/environment.rb file I noticed the following line so it looks like Radiant caching is on right? config.middleware.use ::Radiant::Cache So my questions are: What would be a checklist of things that may be degrading our site's performance? Besides generally reducing http calls and sizes, what Radiant specific stuff can I do to speed things up? Even links to relevant Radiant docs would be helpful. What would be a good time per size metric to shoot for? Thanks all! ___ 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] How to improve site performance?
On Mon, Dec 28, 2009 at 7:13 PM, Rob Levin roblevinten...@gmail.com wrote: change the page caching time to a much larger value compared to the default 5 minutes if your pages can manage it. Yes, I'm looking in to this. I'm almost positive we're just using the default. I agree that this may help a LOT! Does someone have a working example of setting: ResponseCache.defaults[:expire_time] or whatever? That would be very helpful. http://groups.google.com/group/radiantcms/msg/01ac040dbcf76479 John Mohit: make sure you are not serving css and/or js from radiant I have my styles and js in RADIANT_ROOT/public/stylesheet /javascripts respectively. Is that correct? It's my understanding that Apache will serve anything under /public right? that's right page parts Well we are using layouts, snippets, parts, etc., pretty heavily. Is this specific to page parts or are snippets, layouts, etc., also hot spots? they require additional database access. however if your database is properly tuned it's generally not much of an issue. it's just something i've noticed on the few apps i track with new relic rpm; in nearly all of them PagePart#find is the most time consuming transaction except in apps that use paperclipped and in that case Asset#find is the slowest. Here's the live site: http://www.snaplogic.com/ the x-runtime header (for the homepage) says 457ms (which is a pretty insignificant part of your total response time) is spent in the rails process so you're likely going to get much more bang for your buck by starting with generic optimizations rather that digging too deeply into radiant (e.g. reducing use of snippets or page parts). a tool like the yslow addon for firefox might help get you started: https://addons.mozilla.org/en-US/firefox/addon/5369. Thanks for the great help all! On Mon, Dec 28, 2009 at 4:54 PM, john muhl johnm...@gmail.com wrote: oh and i'd think 300-400ms or less spent inside the rails process would be sufficient for all but the most performance critical applications since your web server should be able to serve the rest of your page (static assets, css, js) in less than 100ms On Mon, Dec 28, 2009 at 6:49 PM, john muhl johnm...@gmail.com wrote: some things that come to mind immediately: - make sure you are not serving css and/or js from radiant - make sure you have mod_deflate setup up to compress all text files - avoid excessive use of page parts - avoid using paperclipped or page_attachments for design assets (like your logo or icons or things that don't need to be managed by your content editors) On Mon, Dec 28, 2009 at 6:20 PM, Rob Levin roblevinten...@gmail.com wrote: I've just started working at a place that is using Radiant for it's web site and I've noticed our general pages are usually somewhere around 150kb and take, on my system, around 800ms. FWIW, just now dslreports showed my download speed (on my client box) avg at around 5000Kb. Since it's a small start-up I'm going to be the one to further tune site's performance. That being said, I'm not a sysadmin nor do I have experience in this sort of thing (disclaimer). We are using Radiant version 0.8.1 with Apache/2.0.52 (Red Hat) Server on RH4 (don't ask) and using Passenger with ruby enterprise edition: 1.8.6 (2008-08-11 patchlevel 287) Ruby Enterprise Edition 20090610. We have our own dev server but for production we're using server beach. Looking at our Radiant instance's /config/environment.rb file I noticed the following line so it looks like Radiant caching is on right? config.middleware.use ::Radiant::Cache So my questions are: What would be a checklist of things that may be degrading our site's performance? Besides generally reducing http calls and sizes, what Radiant specific stuff can I do to speed things up? Even links to relevant Radiant docs would be helpful. What would be a good time per size metric to shoot for? Thanks all! ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Request for Assistance: Radiant Extension Registry
Howdy folks, I've been doing a little work on the side over the holidays here to revamp the Radiant extension registry. The registry, which was put together one Rails Conf a couple of years ago through the super human efforts of Sean Cribbs is in need of a little polish and a couple of additional features. The current registry resides here: http://ext.radiantcms.org/ I've put together a couple of mockups that outline the improvements that I would like to make: http://github.com/radiant/radiant-mockups/raw/master/registry.png http://github.com/radiant/radiant-mockups/raw/master/registry-extensions.png http://github.com/radiant/radiant-mockups/raw/master/registry-extension.png http://github.com/radiant/radiant-mockups/raw/master/registry-authors.png http://github.com/radiant/radiant-mockups/raw/master/registry-profile.png http://github.com/radiant/radiant-mockups/raw/master/registry-search.png These mockups need to be sliced up and converted into HTML. The new features, pagination, search results, reviews, and screenshots need to be implemented. I could use help on any of these fronts. If you would like to help, and gain a little immortality in Radiant history, contact me directly. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Deployment database merging
heroku has a tool called taps that i use for this purpose; it's not tied to the heroku service at all so you can use it to push/pull databases from any where you like. http://docs.heroku.com/taps http://adamblog.heroku.com/past/2009/2/11/taps_for_easy_database_transfers/ On Sun, Dec 13, 2009 at 3:52 AM, Konstantin Antipin antipin.konstan...@gmail.com wrote: Hi everybody, I am developing a blog for a customer using Radiant 0.8.1 What is the usual way of deploying radiant to the production server? Since lot's of configuration is stored in the database, I need to overwrite db on the server with my development db (with capistrano it is not a problem). But this will work only if I am the only one who updates the website. And what if customer in a meanwhile has published new post? I need to merge databases somehow. There was a similar question some time ago ( http://www.ruby-forum.com/topic/167040 ), but there was no real conclusion... So, how do _you_ deploy your radiant website? How do you solve issue with database merge? This must have some simple answer, but I can't see one... my best, Konstantin PS It would be absolutely awesome if you share your capistrano recipe in case you use it ;) ___ 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] tags
On Thu, Nov 19, 2009 at 3:42 PM, Steven Southard ste...@stevensouthard.com wrote: Can tags only be one word? Is there a special character to connect words to make phases? The convention in Radiant is to use an underscore to connect words in a tag. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Endnotes and 404
This is not a bug. A 404 page is not intended to have children. I'd recommend that you include some javascript that automatically redirects to your home page. --John On Mon, Nov 30, 2009 at 9:54 AM, Anton Aylward anton.aylw...@rogers.com wrote: Endnotes are an alternative to footnotes. Long footnotes can intrude into the page, using endnotes moves them 'out of band'. I've created an otherwise blank page /endnotes/ and the endnotes live under there. Hyperlinks from the text lead there. simple enough, eh? But I don't want people to hack the address bar and look at the page /endnotes/ itself. So I marked it as Page type: file not found and it should come as a 404. It does. The only problem is that so do its children. And I have explicitly marked them as normal Is this a bug? Is it inherent in the logic of the way things work or it is something I've done wrong? -- Human history becomes more and more a race between education and catastrophe. --H. G. Wells ___ 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] Recursion error: already rendering the part
there is nothing wrong with that snippet. so maybe you have already entered the amazon_link part before you call the snippet; maybe in another snippet or a layout. On Thu, Nov 19, 2009 at 2:35 PM, Dmitry Belitsky dmitry.belit...@gmail.com wrote: Hey guys, take a look at http://pastie.org/706339 i get error: StandardTags::TagError in SiteController#show_page Recursion error: already rendering the `amazon_link' part. Can you help me fix it? Thanks! -- With optimism, Dmitry Belitsky http://belitsky.info ___ 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] Recursion error: already rendering the part
are you by any chance running radiant 0.9rc1 (or a recent master branch)? on a fresh 0.8.1 the snippet works as expected; on master i see the behavior you describe. the test case can be narrowed to: r:children:each r:content part=a/ r:content part=a/ /r:children:each On Thu, Nov 19, 2009 at 3:15 PM, Dmitry Belitsky dmitry.belit...@gmail.com wrote: Thanks for reply, but i can't find any mention of this part in other places. Only here. If i used this snipped on home page - it works, if i used it in other page: Recordings - here i want to show list of children, which have parts which i define in Stereotype: - Rec1 - Rec2 - Rec3 If i remove one of r:content part='amazon_link' / - this page works, if i left both - i get this: Recursion error: already rendering the `amazon_link' part. Any suggestions? Thanks. P.S. I used Paperclipped and Stereotype plugins if this matters. On Nov 19, 2009, at 10:43 PM, john muhl wrote: there is nothing wrong with that snippet. so maybe you have already entered the amazon_link part before you call the snippet; maybe in another snippet or a layout. On Thu, Nov 19, 2009 at 2:35 PM, Dmitry Belitsky dmitry.belit...@gmail.com wrote: Hey guys, take a look at http://pastie.org/706339 i get error: StandardTags::TagError in SiteController#show_page Recursion error: already rendering the `amazon_link' part. Can you help me fix it? -- With optimism, Dmitry Belitsky http://belitsky.info ___ 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] 0.9.0 RC1, head or 0.8.1 ?
2009/11/15 Raphaël Valyi rva...@gmail.com: So my question is, what version would you advise for best overall peace of mind in the coming 6 months (balancing current trouble on head against future migration cost): - stable 0.8.1 ? - 0.9.0 RC1 ? - head ? That depends. 0.9.0 RC1 is stable enough for production use, but the question is, have the extensions that you want to use been updated to work with RC1. If the answer is no, you may want to stick with 0.8.1 for now. I should say, I'm a bit surprise to see 0.9.0 is still not out while RC1 was back in early October, any issue? Busy? Any planned date? We haven't promoted it to an official release because we want to allow enough time for most of the major extensions to be updated. There will probably be at least one more RC and it will included support for internationalization (of the admin interface). -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Sphinx Extension help
Thanks Josh, Unfortunately this hasn't resolved the issue. It's weird that it works just fine on my local machine. John On 16 Nov 2009, at 14:43, Josh French wrote: When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Hi John, This may help: http://jimneath.org/2009/11/09/thinkingsphinx-and-nil-results/ Best, Josh ___ 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] Sphinx Extension help
Hi, I've just moved my site to production and the Sphinx Search seems to be giving me problems When I run a search I'm getting the following error. undefined method `constantize' for nil:NilClass Has anyone else had this? Thanks John On 2 Nov 2009, at 21:03, Josh French wrote: John, I've updated the Sphinx Search extension to be more flexible when handling results that aren't Pages. Can you update to the latest version and try again? Also, some basic tags like title and URL will be available as long as your model implements methods by the same name. That may spare you from having to write your own implementation of r:link. Let me know if you run into any further problems. Josh ___ 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] The system cannot find the path specified.
Applied. Please verify. -- John Long http://wiseheartdesign.com http://recursivecreative.com On Thu, Nov 12, 2009 at 1:57 PM, Charles Roper reac...@charlesroper.co.uk wrote: On 12/11/2009 07:47, Charles Roper wrote: On 11/11/2009 09:17, Charles Roper wrote: Hi, First post here - just getting to grips with Radiant. I'm trying to install the Paperclipped extension on a test site and have run into a couple of issues. I'm on Windows, using the RubyInstaller (which recently went RC1): ruby -v ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] I've done some further digging and found the problem. I've created an issue on Github: http://github.com/radiant/radiant/issues/#issue/69 I've created a patch (attached) that should fix this issue. Cheers, Charles ___ 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] The system cannot find the path specified.
I'm working on that and the failing tests right now. Oops! :-) --John On Fri, Nov 13, 2009 at 2:01 PM, Charles Roper reac...@charlesroper.co.uk wrote: 2009/11/13 John Long johnwlong2...@gmail.com: Applied. Please verify. Thanks John, looks good apart from one typo that I managed to slip in there. I've added a comment to the commit: http://github.com/radiant/radiant/commit/71646bb1574713435d257825f21d984eb4ea8ba3#L0R187 Want another patch or is it easier for you to fix? Cheers, Charles ___ 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] Pages, Snippets and Layouts Coordination
On Fri, Nov 13, 2009 at 4:45 PM, Jason Broom jbroo...@gmail.com wrote: Would I be better off skipping CSS as a Page, and just link rel=stylesheet somewhere in the metaverse? that's my preferred way; not to mention spending a database lookup (actually more than one) and having your css expire from the cache every five minutes aren't what you'd call performant. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] dreamhost
On Mon, Nov 9, 2009 at 10:36 AM, Brian Wolf brw...@gmail.com wrote: I was wondering if you might update your dreamhost install directions, as radiant is an installed gem. on my dreamhost ps the system radiant gem is version 0.6.9 which is more than a year out of date and probably won't work with lots of extensions; certainly new extensions are not targeting 0.6.x and even old extensions that get updates have probably dropped 0.6.x support by now. Do I still need to install my own gems? if you want to run a current version of radiant and/or have any control over the environment yes you should install your own gems. These configuration issues seem to get in the way of my eval. then ignore these configuration issues and do as was suggested by others and do your evaluation on your local computer. trying to evaluate anything on dreamhost's notoriously crappy platform seems like an unnecessary pain to put yourself through. if you must do the evaluation on a remote server have a look at http://heroku.com/ you can get started for free and their platform is actually built to run ruby applications. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] page_attachment error
does this help? http://groups.google.com/group/radiantcms/msg/aedda395081a30c9 On Thu, Nov 5, 2009 at 1:47 PM, Jeff Randall jrand...@iaak.net wrote: I am running Rails 2.3.4, Radiant 0.8.1 on Ubuntu 8.0.4 It seems the installation of page _attachments is successful per http://wiki.github.com/radiant/radiant/page-attachments-extension . In the admin I can see Attachments area when I am working with a page but nothing happens when I click the + icon. Firebug is telling there is an error with the JS. Event.addBehavior is not a function '#attachments:click': function(event) {\n Any ideas? ___ 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] iterating over children of children in order of creation
take a look at the aggregation extension: http://github.com/radiant/radiant-aggregation-extension On Thu, Nov 5, 2009 at 7:45 PM, Joe Van Dyk j...@pinkpucker.net wrote: Hello, I've got the following structure: /publications /publications/boats/page1 /publications/boats/page2 /publications/boats/page3 /publications/cars/page1 /publications/cars/page2 etc I want to make a RSS feed that lists the most recent pages from the publications directory. when I do something like: r:find /publications / r:children:each by=created_at order=desc limit=20 ... /r:children:each It seems to order the pages by whenever the top-level boats and cars pages themselves were updated, not by the most recent updated children of the cars and boats pages. Again, if /publications/cars/page5 was added, I'd want that to be at the top of the rss feed. Ideas on how to do that? -- Joe Van Dyk http://fixieconsulting.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] Sphinx Extension help
Hi Josh, Thanks for the info. In regards to the stack trace this is what I'm getting undefined method `request' for #Advert:0x1064e3340 /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/vendor/rails/activerecord/ lib/active_record/attribute_methods.rb:260:in `method_missing' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 38:in `set_process_variables' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 17:in `render_tag' /Library/Ruby/Gems/1.8/gems/thinking-sphinx-1.2.12/lib/thinking_sphinx/ search.rb:102:in `collect' /Library/Ruby/Gems/1.8/gems/thinking-sphinx-1.2.12/lib/thinking_sphinx/ search.rb:102:in `send' /Library/Ruby/Gems/1.8/gems/thinking-sphinx-1.2.12/lib/thinking_sphinx/ search.rb:102:in `method_missing' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 10:in `initialize' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 18:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 10:in `initialize' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 18:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 18:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 10:in `initialize' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 18:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:287:in `parse' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:292:in `parse_object' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:142:in `render_snippet' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/standard_tags.rb: 374:in `tag:content' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/lib/radiant/taggable.rb: 33:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 10:in `initialize' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page_context.rb: 18:in `render_tag' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:287:in `parse' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:292:in `parse_object' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:126:in `render' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/models/page.rb:116:in `process_without_mailer' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/controllers/ site_controller.rb:46:in `process_page' /Library/Ruby/Gems/1.8/gems/radiant-0.8.0/app/controllers/ site_controller.rb:20:in `show_page' Thanks John On 30 Oct 2009, at 13:59, Josh French wrote: This works fine as all the news gets indexed, however I'm struggling to search the news article. When I do a search terms that has NewsArticles in it I get the following error message Hi John, The Sphinx Search extension was initially built to work with arbitrary models but the actual results page is a late addition and so may need some tweaking. Can you paste a little more of the stack trace where you're getting the undefined method `request' error? I suspect it's just that the results tags are expecting Page objects and your NewsArticle pages don't conform to some assumption. (I am assuming that NewsArticle is *not* a Page subclass -- is that correct?) does it mean that the tags are being indexed and as such and class or id attributes etc might appear I *think* the strip_html option operates before your content gets indexed, but you might want to verify that with the Sphinx folks. One final question, there doesn't appear to be a link tag in the extension's tag class. Do I need to write my own 'link' tag to link to the correct page? In your case, you'll need to because you have polymorphic results objects. There's no way of knowing if your models have methods like link, url, or slug, so I can't supply tags that automatically expose the proper links. In the simple case however -- a search that returns Page objects only -- within an r:results:each block you should be able to call any tag that a Page responds to, like r:url or r:title. Josh ___ 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
Re: [Radiant] Sphinx Extension help
Actually I've managed to resolve this issue. The extension uses the following code in the radius tag tag 'results:each' do |tag| tag.locals.results.collect do |result| tag.locals.page = result tag.expand end.join(\n) end the variable tag.locals.page conflicts with the page object, so changing to tag.locals.foundpage solves the problem. I also had to change the 'results:each:excerpt' to get the excerpt like this tag.locals.results.excerpt_for(content, tag.locals.foundpage.class) as excerpt_for needs to know what class it is working on. Now all I need to do is write a custom link and title tag for the radius tags and I'm sorted. John On 30 Oct 2009, at 13:59, Josh French wrote: This works fine as all the news gets indexed, however I'm struggling to search the news article. When I do a search terms that has NewsArticles in it I get the following error message Hi John, The Sphinx Search extension was initially built to work with arbitrary models but the actual results page is a late addition and so may need some tweaking. Can you paste a little more of the stack trace where you're getting the undefined method `request' error? I suspect it's just that the results tags are expecting Page objects and your NewsArticle pages don't conform to some assumption. (I am assuming that NewsArticle is *not* a Page subclass -- is that correct?) does it mean that the tags are being indexed and as such and class or id attributes etc might appear I *think* the strip_html option operates before your content gets indexed, but you might want to verify that with the Sphinx folks. One final question, there doesn't appear to be a link tag in the extension's tag class. Do I need to write my own 'link' tag to link to the correct page? In your case, you'll need to because you have polymorphic results objects. There's no way of knowing if your models have methods like link, url, or slug, so I can't supply tags that automatically expose the proper links. In the simple case however -- a search that returns Page objects only -- within an r:results:each block you should be able to call any tag that a Page responds to, like r:url or r:title. Josh ___ 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] latest (0.8.x compatible) page_attachments woes
it seems 8105853c35071712ab130e668d14e813a95f5ebe broke at least the saving of file titles/descriptions and causes PAGE_ATTACHMENTS_SIZES hash to be ignored. reverting that commit makes everything working again. anyone else seeing similar behavior on the 0.8.1 branch? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Extension page_attachments no reaction after click
the master branch of page_attachments does not work with 0.8.x anymore you'll need to checkout the 0.8.1 branch. git clone git://github.com/... vendor/extensions/page_attachments # checkout the 0.8.1 branch cd vendor/extension/page_attachments git checkout origin/radiant-0.8.1 cd ../../.. rake radiant:extensions:page_attachments:migrate rake radiant:extensions:page_attachments:update On Thu, Oct 29, 2009 at 1:18 PM, Boris Raeschler boris.raesch...@googlemail.com wrote: Hello, I´m using a fresh radiant copy 0.8.1 and the latest version of page_attachments. Installation of radiant and the plugin works like a charm. I'm using this steps for installation git clone git://github.com/radiant/radiant-page-attachments-extension.git vendor/extensions/page_attachments rake radiant:extensions:page_attachments:migrate rake radiant:extensions:page_attachments:update But here´s my problem. I would like to upload a attachment to a page. In admin/page/edit I see the green + button. But clicking the button has no result. I didn´nt see the upload form or an other button? The Database Table and Javascript file (page_attachments) are present?? What did I wrong? Who can help? Best regards Boris ___ 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] Sphinx Extension help
Hi, I'm pretty new to Ruby and Radiant so please be gentle. I've installed the Sphinx Search extension for a site search facility. I need the search to include several other content models, such as NewsArticles, and not just Pages. I've so far added this to the env ironment.rb config.after_initialize do ThinkingSphinx::Configuration.instance.model_directories # {RAILS_ROOT}/vendor/extensions/news/app/models/ # Add new inflection rules using the following format: ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable 'config' end end This works fine as all the news gets indexed, however I'm struggling to search the news article. When I do a search terms that has NewsArticles in it I get the following error message undefined method `request' for #NewsArticle:0x1064e3a48 I've had a hunt around the code, but can't find anything that seems obvious. I've so far updated the search_page.rb file as follows (it was only previously search the Page object): def process(request, response) @query = request.params[:query] # Ensure search is not run with empty term @results = @query.blank? ? ThinkingSphinx::Search.new (0,@@per_page,0,0) : ThinkingSphinx.search(@query, :page = request.params[:page], :per_page = @@per_page) super end Another thing I've spotted when doing a search with on Page objects in the results is that the excerpt contains html tags. I know I can strip the tags quite easily, but does it mean that the tags are being indexed and as such and class or id attributes etc might appear in search results? One final question, there doesn't appear to be a link tag in the extension's tag class. Do I need to write my own 'link' tag to link to the correct page? thanks John ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
On Mon, Oct 26, 2009 at 9:37 AM, Travis D. Warlick, Jr. warli...@operissystems.com wrote: You should be using the following tag syntax for the form fields: r:mailer:text name=name / See the Usage section here: http://github.com/radiant/radiant-mailer-extension not true. everything inside r:mailer:form is already in the r:mailer... namespace so r:mailer:form r:mailer:text... is exactly the same as r:mailer:form r:text... (this is pretty much true of all radius tags) On Oct 26, 2009, at 9:26 AM, María Paula Mariani wrote: I'm trying to build a contact form using the Mailer extension. I've followed step by step the documentation, but I can't find the way. When clicking at Submit form, it do not deliver the message and forward to this path /pages/84/mail#mailer that url suggest you haven't set `Radiant::Config['mailer.post_to_page?'] = true`. see http://wiki.github.com/radiant/radiant/mailer-extension i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. if none of that helps could you provide more details on your setup. action mailer config, smtp provider, ruby version, radiant version etc. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Troubles with mailer extension
i also see that you're trying to send to an @gmail.com address so i'm guessing that you're using the gmail smtp server; if that's the case and you're running ruby 1.8.6 you'll need to install the action_mailer_tls rails plugin. I've installed the action_mailer_tls gem, should I include it this way before the Action Mailer SMTP configuration require 'smtp_tls' or it is not needed? from what i understand it's not needed. see the first comment here: http://apidock.com/rails/ActionMailer/Base ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Stylesheet and articles not working
On Thu, Oct 15, 2009 at 5:42 PM, Bhavin Patel mindtra...@gmail.com wrote: HiI am new to raidant cms. I posted my query but was not able to get a proper solution. more likely you ignored the answer. http://groups.google.com/group/radiantcms/msg/2f4c94f8ee3b7b9d? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Views.
If you want the front end stuff to be file based, look at the filesystem extension. I use it all the time so I can source control all my front end work. John On Oct 14, 2009, at 14:40, Anton Aylward anton.aylw...@rogers.com wrote: Radu Curteanu said the following on 10/14/2009 09:13 AM: Ok but then what is the way to work when working with a designer ? How can a developer and a designer work in this case ? Where should the designer put his work ? Is there a way to work around on this? I see that in the github repo there is an app folder with everything in it(app folder I mean). Have you tried setting up a radiant site on your workstation or have you just looked at the stuff at github? I think that if you were to set up a site and go into the admin mode and see a running site and try things out a lot of your questions would be answered. The later releases have a number of 'designs' that you can examine, but you need to have a runing site to do that. A number of people have already told you 'its in the database' and you can't see what's in the database until you are up and running. -- I wonder why. I wonder why. I wonder why I wonder. I wonder why I wonder why I wonder why I wonder! -- Richard Feynman ___ 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: Git Confusion - thread detour from [Radiant] [ANN] Radiant 0.9.0 RC1
On Mon, Oct 12, 2009 at 3:02 PM, Nate Turnage pixeln...@gmail.com wrote: On Mon, Oct 12, 2009 at 2:45 PM, Dayne Broderson da...@gina.alaska.eduwrote: [dbrod...@beef ~]$ gem environment ... [dbrod...@beef ~]$ /usr/local/lib/ruby/gems/1.8/gems/radiant-0. radiant-0.6.9/ radiant-0.7.0/ radiant-0.7.1/ radiant-0.8.1/ [dbrod...@beef ~]$ /usr/local//ib/ruby/gems/1.8/gems/radiant-0.7.1/bin/radiant That's pretty easy? :^O I guess it's not that difficult, but I could have sworn there was an easier way. Something like this: radiant -v=0.7.1 --database [mysql] project That of course doesn't work, but I thought there was something easy like that. I could be wrong, probably am. i've found the following to be pretty easy to use once it's setup. - clone the latest radiant source to somewhere in your home directory; i use ~/.radiant git clone git://github.com/radiant/radiant.git ~/.radiant - add aliases to your ~/.bashrc file (or ~/.profile or whatever) such as: alias radiant-0.6.8=PWD=`pwd` cd ~/.radiant git checkout -q 0.6.8 cd $PWD ~/.radiant/bin/radiant alias radiant-0.6.9=PWD=`pwd` cd ~/.radiant git checkout -q 0.6.9 cd $PWD ~/.radiant/bin/radiant alias radiant-0.7.0=PWD=`pwd` cd ~/.radiant git checkout -q 0.7.0 cd $PWD ~/.radiant/bin/radiant alias radiant-0.7.1=PWD=`pwd` cd ~/.radiant git checkout -q 0.7.1 cd $PWD ~/.radiant/bin/radiant alias radiant-0.8.0=PWD=`pwd` cd ~/.radiant git checkout -q 0.8.0 cd $PWD ~/.radiant/bin/radiant alias radiant-0.8.1=PWD=`pwd` cd ~/.radiant git checkout -q 0.8.1 cd $PWD ~/.radiant/bin/radiant alias radiant-edge=PWD=`pwd` cd ~/.radiant git checkout -q master cd $PWD ~/.radiant/bin/radiant (http://gist.github.com/208708 in case the mailing list mangles the line endings) - reload your .bashrc (or .profile or whatever you edited); i.e. `source ~/.bashrc` you can test them by running commands like `radiant-0.7.1 --version` and `radiant-0.8.1 --version` you may see errors having to do with submodules but those are harmless for the use of simply being able to generate new sites from any version of radiant. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: Git Confusion - thread detour from [Radiant] [ANN] Radiant 0.9.0 RC1
oh and once you've created a radiant from an older version (or edge) you probably want to freeze it with `rake radiant:freeze:edge TAG=0.7.1` or whatever On Mon, Oct 12, 2009 at 3:35 PM, john muhl johnm...@gmail.com wrote: On Mon, Oct 12, 2009 at 3:02 PM, Nate Turnage pixeln...@gmail.com wrote: On Mon, Oct 12, 2009 at 2:45 PM, Dayne Broderson da...@gina.alaska.eduwrote: [dbrod...@beef ~]$ gem environment ... [dbrod...@beef ~]$ /usr/local/lib/ruby/gems/1.8/gems/radiant-0. radiant-0.6.9/ radiant-0.7.0/ radiant-0.7.1/ radiant-0.8.1/ [dbrod...@beef ~]$ /usr/local//ib/ruby/gems/1.8/gems/radiant-0.7.1/bin/radiant That's pretty easy? :^O I guess it's not that difficult, but I could have sworn there was an easier way. Something like this: radiant -v=0.7.1 --database [mysql] project That of course doesn't work, but I thought there was something easy like that. I could be wrong, probably am. i've found the following to be pretty easy to use once it's setup. - clone the latest radiant source to somewhere in your home directory; i use ~/.radiant git clone git://github.com/radiant/radiant.git ~/.radiant - add aliases to your ~/.bashrc file (or ~/.profile or whatever) such as: alias radiant-0.6.8=PWD=`pwd` cd ~/.radiant git checkout -q 0.6.8 cd $PWD ~/.radiant/bin/radiant alias radiant-0.6.9=PWD=`pwd` cd ~/.radiant git checkout -q 0.6.9 cd $PWD ~/.radiant/bin/radiant alias radiant-0.7.0=PWD=`pwd` cd ~/.radiant git checkout -q 0.7.0 cd $PWD ~/.radiant/bin/radiant alias radiant-0.7.1=PWD=`pwd` cd ~/.radiant git checkout -q 0.7.1 cd $PWD ~/.radiant/bin/radiant alias radiant-0.8.0=PWD=`pwd` cd ~/.radiant git checkout -q 0.8.0 cd $PWD ~/.radiant/bin/radiant alias radiant-0.8.1=PWD=`pwd` cd ~/.radiant git checkout -q 0.8.1 cd $PWD ~/.radiant/bin/radiant alias radiant-edge=PWD=`pwd` cd ~/.radiant git checkout -q master cd $PWD ~/.radiant/bin/radiant (http://gist.github.com/208708 in case the mailing list mangles the line endings) - reload your .bashrc (or .profile or whatever you edited); i.e. `source ~/.bashrc` you can test them by running commands like `radiant-0.7.1 --version` and `radiant-0.8.1 --version` you may see errors having to do with submodules but those are harmless for the use of simply being able to generate new sites from any version of radiant. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Site Search
Hi, I've been asked to add a site search facility to our intranet site I'm working on at the moment. I'm currently wondering what my best options are. The difficulty is that quite a bit of the site content is stored in extension specific tables. Is using sphinx my best option? Thanks John ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Regarding the diplay of posts and stylesheets
On Sun, Oct 11, 2009 at 8:05 AM, Bhavin Patel mindtra...@gmail.com wrote: *Still i am not able to see the post ? why .. what can be done?* i see your posts. could you be more clear about what the issue is? *as well as i have created stylesheet layout too to use with styles page in root but even the styles are not in effect... i tried many things.. but maybe i am missing something core* your style sheets page is called styles but in your layout you have: link rel=stylesheet href=/stylesheet media=all title=Default charset=utf-8/ which should be: link rel=stylesheet href=/styles media=all title=Default charset=utf-8/ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Regarding the diplay of posts and stylesheets
On Sun, Oct 11, 2009 at 9:03 AM, Nate pixeln...@gmail.com wrote: Bhavin Patel wrote: HiI have a problem. I am new to radiant. You are wrapping your title and content with snippet tags. r:snippet name=headerh1r:title//h1 r:content/ /r:snippet Whether you intended that or not, hat's not how snippets work. Snippets are self-contained blocks of content, defined in the snippets area of the admin. The snippet tags are not used to define areas of a page on the fly. actually that is a perfectly valid way for snippets to work. for example: page: r:snippet name='title'r:title//r:snippet snippet: h1r:yield//h1 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Radiant 0.9.0 RC1
On Oct 10, 2009, at 3:01 PM, Mamed Mamedov wrote: But, I have question: where can I find API Documentation for Radiant CMS? For example, I'am developing some extension for my radiant project (to complete my purposes) and all can I find - it is a wiki.github.com/radiant. There are only articles, but there are no any API documentation on built-in Radiant classes which is mostly used by extensions. The closest thing that we would have to that is this: http://wiki.github.com/radiant/radiant/creating-extensions Also it's highly recommended that you browse the source when you have questions about how stuff works. Radiant is a standard Ruby on Rails application, so have a look at a couple of the Rails tutorials first if you are not familiar with Rails. -- John Long http://wiseheartdesign.com http://recursivecreative.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant