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
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
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,
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