Re: [Radiant] feedburner integration with Radiant

2009-07-24 Thread Keith Bingman
Rafael There are a couple of ways to do this. The easiest would be to set a new value for the image url in the Settings ext. or in Radiant::Config. Just add a new setting for 'assets.url' with the value 'http://mydomain.com/:class/:id/:basename:no_original_style:extension' and you will be

Re: [Radiant] feedburner integration with Radiant

2009-07-24 Thread Rafael Souza
I find a simple way to do this in all my assets. I edited asset_tags.rb file from paperclipped extension. I replace line 186 with url = request.protocol + request.host_with_port + asset.thumbnail(size), and it works for me. If it's not a good idea, let me know, please. Thanks, Rafael Souza

[Radiant] Can Rails form helpers be used inside custom tags?

2009-07-24 Thread Matthew Bass
Is it possible to use Rails form field helpers (date_select, check_box_tag, etc) within custom Radius tags? I'm writing a custom tag that spits out a series of date selects, and it sure would be a lot easier to just call out to the Rails helper instead of writing custom HTML. Thanks,

Re: [Radiant] Can Rails form helpers be used inside custom tags?

2009-07-24 Thread Alexander Wallace
Yes, this is possible. You may need to explicitly include ActionView::Helpers::FormHelper from within your radius tag files. -Alex On Fri, Jul 24, 2009 at 5:24 PM, Matthew Bass pelar...@gmail.com wrote: Is it possible to use Rails form field helpers (date_select, check_box_tag, etc) within