[Radiant] Radiant Shortcut Extension
Has anyone had any luck in getting this extension working with radiant 0.8? I'm getting this error when I try to visit the homepage when it is set as a Shortcut Finder as per instructions: NoMethodError (undefined method `include?' for nil:NilClass): vendor/extensions/shortcut/app/models/shortcut_finder_page.rb:5:in `find_by_url' radiant (0.8.1) app/models/page.rb:177:in `find_by_url' radiant (0.8.1) app/controllers/site_controller.rb:41:in `find_page' radiant (0.8.1) app/controllers/site_controller.rb:19:in `show_page' radiant (0.8.1) vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:19:in `process' shortcut_finder_page.rb: class ShortcutFinderPage Page def find_by_url(url, live = true, clean = true) url = clean_url(url) if clean slugged_url = url.gsub!(%r{^/},'').gsub!(%r{/$},'') unless slugged_url.include?('/') children.find_by_class_name('ShortcutDisplayPage') else super end end end I noticed there is a call to response::cache in shortcut_display_page.rb whose removal allows for the displaying of the shortcut pages to work as intended; it is just that the homepage is causing an error with this line: unless slugged_url.include?('/') If I add slugged_url.nil? to get around the error it will display the homepage but will also display all subpages as shortcuts regardless of their shortcut setting... Does anyone know how to go about fixing this problem? Thanks as always, Dominic ___ 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 can i extract part from page for auto teaser making?
Have you tried the truncate extension? http://github.com/astashov/radiant-truncate-extension 2010/1/15 Dmitry Belitsky dmitry.belit...@gmail.com Hello there, how can i use custom number of words/letters for generating teasers for articles? Is there are extension for it? I only found Summarize extension, but this is not what i want for my clients. I want simplest solution, which will cut first paragraph or first n letters. Thanks. -- 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
[Radiant] Multiple Search Criteria / Filter Form
Does anyone have any experience of making a search by multiple criteria form? i.e. Match results based on choosing multiple options from a selection list: Country: ..., ... Nationality: ..., ... Language: ..., ... ... ... Presumably it is possible to construct a regular search url with multiple criteria from a form but this doesn't sound particularly robust or reliable way of filtering content. It might be possible to match parts of a results url and use lots of nested conditional tags to filter based on matches but again this doesn't sound like a good solution as a complex filter would grow need to exponentially. I haven't ever considered this problem before so would greatly appreciate any tips / advice. Thanks in advance, Dominic ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Att: Freelance Extension Developers (was Re: Multiple Search Criteria / Filter Form)
http://github.com/binarylogic/searchlogic looks very interesting, it looks you can use it to chain searches on the columns in the page table; exactly what I need. I would be interested in making contact with any extension developers interested in either baking searchlogic into a blank radiant site or even taking it a basic extension. I would only need it developed to the most basic workable stage, e.g. an example tag and search results page. If you have any relevant experience are interested and available in the next couple of weeks, please email me an estimate and any relevant info. I look forward to hearing from you. (Apologies in advance if soliciting freelancers on this list is frowned upon.) 2010/1/13 Jamey Cribbs jamey.cri...@gmail.com Take a look at searchlogic. Jamey On Wed, Jan 13, 2010 at 6:59 AM, subsor...@gmail.com subsor...@gmail.com wrote: Does anyone have any experience of making a search by multiple criteria form? i.e. Match results based on choosing multiple options from a selection list: Country: ..., ... Nationality: ..., ... Language: ..., ... ... ... Presumably it is possible to construct a regular search url with multiple criteria from a form but this doesn't sound particularly robust or reliable way of filtering content. It might be possible to match parts of a results url and use lots of nested conditional tags to filter based on matches but again this doesn't sound like a good solution as a complex filter would grow need to exponentially. I haven't ever considered this problem before so would greatly appreciate any tips / advice. Thanks in advance, Dominic ___ 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] Comments Extension and Notifications
That seems to work great, thanks for the super quick reply. Is this compatible with the aski/mollum spam filtering? 2009/8/13 john muhl johnm...@gmail.com you can set `Radiant::Config['comments.auto_approve'] = true` through the console, your environment or the settings extension and it will auto-approve comments. On Thu, Aug 13, 2009 at 12:02 PM, subsor...@gmail.com wrote: Hi, Firstly thanks to all those who developed this extension, it seems like quite a roll call. Is this feature supported? I can see in TODO a note about stating that something similar is pending, but a quick glance through the code suggests it is in place. If it isn't implemented is it possible to auto approve comments that pass the simple spam test? 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant