[Radiant] Radiant Search Extension - Only highlighting content from body parts.
LS. The Radiant-Search-Extension comes with the ability to highlight result element strings, by using the r:search:highlight tag. However I noticed it will only show text being placed in a body part. If other page parts are defined it will show up in the search results but without highlighting the text. Is there a way to add the ability for highlighting content defined in other page parts, in order to keep it as hybrid and transparent as possible? Thank you in advance for your help. Kind Regards Victor Elsendoorn ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] updated_at is not touched on content changes?
$ radiant --version Radiant 0.8.0 $ ls vendor/extensions/ navigation_tags paperclipped ray reorder settings sns /Jørn Sean Cribbs wrote: Jorn, On which version of Radiant are you experiencing this problem? Sean ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Ray extension problem
Thanks - seems to be working fine now! I am however having issues with the reorder plugin. When I install it, it fails to insert the position field into the pages table. Possibly because I have no pages in my site yet (I want to use import_export to grab them from a development install I have elsewhere) - has anyone else seen this issue? I think the migration assumes that there will be a page with no parent - but being fairly new to rails, I'm not sure if that means the migration gets rolled back in the install or not... Then again, I don't see the say_with_time(Putting all pages in a default order...) bit printed out either - perhaps it goes to a log somewhere instead. Thanks for all your help! Jonathan. On 28 Jul 2009, at 19:35, john muhl wrote: i've just fixed this, update ray and you shouldn't run into that anymore. On Tue, Jul 28, 2009 at 5:25 AM, Jonathan Batchelorj...@atuin.co.uk wrote: I've been playing about with Radiant for a few days now and am really liking it's simplicity and flexibility. After installing on my MacBook and beginning some developmet I want to install on my Dreamhost account. I have been migrated to a newer server by Dreamhost and have Radiant 0.8.0 working now. I started to install install extensions and took the advice on the wiki page to use ray as it will automatically reload Passenger for me. However although the script/extensions install command works fine, as did setting the config for ray using rake ray:setup:restart server=passenger, when I come to install an extension it does not work. I have included the --trace output below - can anyone help? Thanks, Jonathan. $ rake production ray:extension:install name=dashboard --trace (in /home//_radiant) ** Invoke production (first_time) ** Execute production ** Invoke environment (first_time) ** Execute environment ** Invoke ray:extension:install (first_time) ** Execute ray:extension:install rake aborted! undefined method `strip' for nil:NilClass /home//_radiant/vendor/extensions/ray/lib/tasks/ ray_extension_tasks.rake:807:in `get_download_preference' /home//_radiant/vendor/extensions/ray/lib/tasks/ ray_extension_tasks.rake:151:in `install_extension' /home//_radiant/vendor/extensions/ray/lib/tasks/ ray_extension_tasks.rake:20 /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `call' /home//.gems/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `each' /home//.gems/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /home//.gems/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /home//.gems/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /home//.gems/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /home//.gems/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /home//.gems/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /home//.gems/gems/rake-0.8.7/bin/rake:31 /home//.gems/bin/rake:19:in `load' /home//.gems/bin/rake:19 ___ 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] updated_at is not touched on content changes?
Jorn, I think I have experienced the same problem before. This should be easy to write a failing test for. Sean Jørn Schou-Rode wrote: $ radiant --version Radiant 0.8.0 $ ls vendor/extensions/ navigation_tags paperclipped ray reorder settings sns /Jørn Sean Cribbs wrote: Jorn, On which version of Radiant are you experiencing this problem? Sean ___ 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 In Herolu
Hello, I need help to config paperclipped extension to use in heroku and s3. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Dual RSS
Question in two parts. 1. Can I restrict the RSS to work on only part of the pages tree? 2. Can I have *one* RSS fee on TWO parts of the tree? (e.g. 'Upcoming Events - /events' and 'Upcoming presentations - /presentations' ) -- It seems to work fairly well but composing e-mail on a phone keypad is akin to trigonometry in binary. -- ajtr2 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Dual RSS
You can make the RSS display whatever you want, since it's just a page. Just change the r:find to point to the page you want. Sean Anton Aylward wrote: Question in two parts. 1. Can I restrict the RSS to work on only part of the pages tree? 2. Can I have *one* RSS fee on TWO parts of the tree? (e.g. 'Upcoming Events - /events' and 'Upcoming presentations - /presentations' ) ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant In Herolu
i've done this a few times and it was straightforward. could you be more specific about where you're running into issues? On Wed, Jul 29, 2009 at 7:15 AM, Mauricio Dulcemauricio.du...@gmail.com wrote: Hello, I need help to config paperclipped extension to use in heroku and s3. ___ 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] Radiant In Herolu
I had also had this thought. It seems that with an s3 (or cloudfiles) enabled paperclipped extension along with SnS, it could be possible to run Radiant seamlessly in the cloud. Anyone want to get down on this project? You fork? I fork? We all can fork fork. Charlie On Wed, Jul 29, 2009 at 9:15 AM, Mauricio Dulce mauricio.du...@gmail.comwrote: Hello, I need help to config paperclipped extension to use in heroku and s3. ___ 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 Xapian Search Extension - now a drop-in replacement
Hi, I've updated the Xapian Search Extension today with the search_page.rb tags from the official Radiant Search Extension. It should now work as a drop-in replacement, using the powerful Xapian search engine. It might still be a little rough around the edges, so please give me feedback in case you find bugs. You can find it here: http://github.com/jfahrenkrug/radiant-xapian-search-extension/tree/master - Johannes -- http://blog.springenwerk.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] Radiant In Herolu
I have Radiant 0.71, and i nedd this extension for v radiant-settings and paperclipped, but other extensions no work in 0.8, expample polls and events. El Jul 29, 2009, a las 10:09 AM, Charlie Robbins escribió: I had also had this thought. It seems that with an s3 (or cloudfiles) enabled paperclipped extension along with SnS, it could be possible to run Radiant seamlessly in the cloud. Anyone want to get down on this project? You fork? I fork? We all can fork fork. Charlie On Wed, Jul 29, 2009 at 9:15 AM, Mauricio Dulce mauricio.du...@gmail.com wrote: Hello, I need help to config paperclipped extension to use in heroku and s3. ___ 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] Dual RSS
Also, see the aggregation extension that allows you to merge the two content sets into one so that all their children can be treated as one. Cheers, Mohit. 7/30/2009 | 12:34 AM. Sean Cribbs wrote: You can make the RSS display whatever you want, since it's just a page. Just change the r:find to point to the page you want. Sean Anton Aylward wrote: Question in two parts. 1. Can I restrict the RSS to work on only part of the pages tree? 2. Can I have *one* RSS fee on TWO parts of the tree? (e.g. 'Upcoming Events - /events' and 'Upcoming presentations - /presentations' ) ___ 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] Radiant In Herolu
On Wed, Jul 29, 2009 at 9:09 AM, Charlie Robbinscharlie.robb...@gmail.com wrote: I had also had this thought. It seems that with an s3 (or cloudfiles) enabled paperclipped extension along with SnS, it could be possible to run Radiant seamlessly in the cloud. Anyone want to get down on this project? You fork? I fork? We all can fork fork. http://empty-river-61.heroku.com/ you can login with admin/radiant to see the paperclipped settings. obviously i am not giving away s3 credentials so you can't actually upload images but you can at least see how it works. i still haven't heard a real issue with running radiant in the cloud. i have a few production sites running completely on heroku and s3 and haven't had any trouble. Charlie On Wed, Jul 29, 2009 at 9:15 AM, Mauricio Dulce mauricio.du...@gmail.comwrote: Hello, I need help to config paperclipped extension to use in heroku and s3. ___ 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] Max page cache time
Hi! And thank you for help! *Is it true?* config.after_initialize do # Add new inflection rules using the following format: ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable 'config' end # Auto-require text filters Dir[#{RADIANT_ROOT}/app/models/*_filter.rb].each do |filter| require_dependency File.basename(filter).sub(/\.rb$/, '') end # Response Caching Defaults ResponseCache.defaults[:directory] = ActionController::Base.page_cache_directory ResponseCache.defaults[:logger]= ActionController::Base.logger ResponseCache.defaults[:expire_time] = 12.hours end end I have done it already a few days ago, but I think it does not work for me. Because, after 5 minutes timeout, when I hit cached page again - radiant generates it again, and after 5 min timeout it will be again :) Also, if we look to the cache folder, the cached page file deleted out after 5 min. expiration time. Mmmm... I'am using radiant v0.7.1, with 'translator' extension which makes some changes to radiant's caching subsystem. Maybe, is it my problem? You can see for changes here: http://github.com/cradle/radiant-translator-extension/tree/master. Regards, Mamed Mamedov Sent from Baku, Azerbaijan Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend. 2009/7/28 Andrew vonderLuft andr...@avlux.net In the config.after_initialize block in environment.rb, add: ResponseCache.defaults[:expire_time] = 12.hours You can also check out the page_options extension, which enables you to set non-default caching on a per page basis. http://ext.radiantcms.org/extensions/123-page-options Andrew On Jul 27, 2009, at 2:06 PM, Mamed Mamedov wrote: Hi! I'am using radiant v0.7.1 and I want to cache my pages for 12 hours, against default 5 minutes value. How can I do it? Thank you! Regards, Mamed Mamedov Sent from Baku, Azerbaijan ___ 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] Radiant In Herolu
:D thanks John El Jul 29, 2009, a las 12:21 PM, john muhl escribió: On Wed, Jul 29, 2009 at 10:51 AM, Mauricio Dulcemauricio.du...@gmail.com wrote: Thanks, but the problem is that I'm using the previous version of radiant, one can say where I get the two paperclipped extensions and settings for this or that version 0.7.1 or extensions such as comments and poll event calendar work in 0.8 most extensions will have a branch or tag for the different incompatible versions...of course neither paperclipped or settings have a branch or tag for 0.7 compatibility so you'll have to go through the history looking for where they added the changes to go from 0.7 to 0.8 and checkout the appropriate commit. however comments has a 0.7.1 tag to use it you would use something like: git clone git://github.com/artofmission/radiant-comments.git vendor/extensions/comments cd vendor/extensions/comments git checkout -b 071 radiant0.7.1 thanks El Jul 29, 2009, a las 11:17 AM, john muhl escribió: On Wed, Jul 29, 2009 at 9:09 AM, Charlie Robbinscharlie.robb...@gmail.com wrote: I had also had this thought. It seems that with an s3 (or cloudfiles) enabled paperclipped extension along with SnS, it could be possible to run Radiant seamlessly in the cloud. Anyone want to get down on this project? You fork? I fork? We all can fork fork. http://empty-river-61.heroku.com/ you can login with admin/radiant to see the paperclipped settings. obviously i am not giving away s3 credentials so you can't actually upload images but you can at least see how it works. i still haven't heard a real issue with running radiant in the cloud. i have a few production sites running completely on heroku and s3 and haven't had any trouble. Charlie On Wed, Jul 29, 2009 at 9:15 AM, Mauricio Dulce mauricio.du...@gmail.comwrote: Hello, I need help to config paperclipped extension to use in heroku and s3. ___ 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/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Routing, accessing controller not from admin
Hi, im kinda new with ruby, and learning to create an extension. basically its like a guest book, i allready completed the back end (admin) so there are /book/new /book/index etc. everything went well until i want to access the controller from main page, so user can post comment without login. i allready create the /vendor/extension/book/book_controller.rb basically i just want to send user input via HTTP POST to that and i confuse with routing mechanism. any body can help me ? thanks be4 any help would be fully appriciated ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Routing, accessing controller not from admin
If your book_controller inherits from application_controller, add no_login_required as one of the first lines after the class BookController ApplicationController no_login_required end Jim Gay http://www.saturnflyer.com On Jul 29, 2009, at 3:52 PM, Ahmy Yulrizka wrote: Hi, im kinda new with ruby, and learning to create an extension. basically its like a guest book, i allready completed the back end (admin) so there are /book/new /book/index etc. everything went well until i want to access the controller from main page, so user can post comment without login. i allready create the /vendor/extension/book/book_controller.rb basically i just want to send user input via HTTP POST to that and i confuse with routing mechanism. any body can help me ? thanks be4 any help would be fully appriciated ___ 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] Radiant In Herolu
Paperclip actually has a 0.7.1 branch and I think the current version works with 0.7.1 as well. Settings does not, but I have so many lying around.. there are some very minor changes to make it work though. Keith On Jul 29, 2009, at 10:21 AM, john muhl wrote: On Wed, Jul 29, 2009 at 10:51 AM, Mauricio Dulcemauricio.du...@gmail.com wrote: Thanks, but the problem is that I'm using the previous version of radiant, one can say where I get the two paperclipped extensions and settings for this or that version 0.7.1 or extensions such as comments and poll event calendar work in 0.8 most extensions will have a branch or tag for the different incompatible versions...of course neither paperclipped or settings have a branch or tag for 0.7 compatibility so you'll have to go through the history looking for where they added the changes to go from 0.7 to 0.8 and checkout the appropriate commit. however comments has a 0.7.1 tag to use it you would use something like: git clone git://github.com/artofmission/radiant-comments.git vendor/extensions/comments cd vendor/extensions/comments git checkout -b 071 radiant0.7.1 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant In Herolu
On Wed, Jul 29, 2009 at 2:11 PM, Keith Bingmanke...@keithbingman.com wrote: Paperclip actually has a 0.7.1 branch and I think the current version works with 0.7.1 as well. Settings does not, but I have so many lying around.. there are some very minor changes to make it work though. turns out i was looking at paperclipped-multi-site (for whatever reason github put it at the top of the search for radiant+paperclipped). sorry for the confusion. Keith On Jul 29, 2009, at 10:21 AM, john muhl wrote: On Wed, Jul 29, 2009 at 10:51 AM, Mauricio Dulcemauricio.du...@gmail.com wrote: Thanks, but the problem is that I'm using the previous version of radiant, one can say where I get the two paperclipped extensions and settings for this or that version 0.7.1 or extensions such as comments and poll event calendar work in 0.8 most extensions will have a branch or tag for the different incompatible versions...of course neither paperclipped or settings have a branch or tag for 0.7 compatibility so you'll have to go through the history looking for where they added the changes to go from 0.7 to 0.8 and checkout the appropriate commit. however comments has a 0.7.1 tag to use it you would use something like: git clone git://github.com/artofmission/radiant-comments.git vendor/extensions/comments cd vendor/extensions/comments git checkout -b 071 radiant0.7.1 ___ 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] Re: Radiant Digest, Vol 40, Issue 38
Thank you this is what im looking for If your book_controller inherits from application_controller, add no_login_required as one of the first lines after the class BookController ApplicationController no_login_required end Jim Gay http://www.saturnflyer.com On Jul 29, 2009, at 3:52 PM, Ahmy Yulrizka wrote: Hi, im kinda new with ruby, and learning to create an extension. basically its like a guest book, i allready completed the back end (admin) so there are /book/new /book/index etc. everything went well until i want to access the controller from main page, so user can post comment without login. i allready create the /vendor/extension/book/book_controller.rb basically i just want to send user input via HTTP POST to that and i confuse with routing mechanism. any body can help me ? thanks be4 any help would be fully appriciated ___ ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant