[Radiant] Extensions: Asset Manager Demo

Jonathan Métillon jmetillon at gmail.com
Fri Nov 24 08:45:48 CST 2006


I reinstalled the whole radiant-mental and asset extension. It's all
good now! Thanks I really like the way it produces icons and
thumbnails.

The only thing is that my girl is not that geek and

<r:asset id="1">
  !<r:asset_url size="thumbnail" />!:<r:asset_url size="normal" />
</r:asset>

Would be easier for her like that

<r:asset_thumbnail id="1" />

Can I define easily this kind of shortcut?


On 11/24/06, Keith Bingman <keith at keithbingman.com> wrote:
>
> Please check out the latest version (revision 19), this was fixed in that. I
> had tagging in, but due to some conflicts with acts_as_taggable and Radiant
> itself, I had to remove it. I missed the one line, line 75 in the
> AssetController, if you erase that it works. Like I said, this is fixed in
> the latest version. I also added the New Asset button; please move this from
> the Images directory in the extension to the Images directory in Public.
>
> Let me know if that works.
>
> Keith Bingman
> keith at keithbingman.com
> Tel: +49-7731-7983830
>
>
> On Nov 24, 2006, at 11:00 AM, Jonathan Métillon wrote:
> You got that right! This one fixed. And now, what about that other one?...
>
>  NoMethodError in Admin/assetController#new
>
> undefined method `tag_with' for #<Asset:0xb72cad14>
>
> RAILS_ROOT: script/../config/..
> Application Trace | Framework Trace | Full Trace
>
> vendor/rails/activerecord/lib/active_record/base.rb:1848:in
> `method_missing'
> vendor/extensions/assets/app/controllers/admin/asset_controller.rb:75:in
> `handle_new_or_edit_post'
> vendor/extensions/assets/app/controllers/admin/asset_controller.rb:16:in
> `new'
> vendor/rails/actionpack/lib/action_controller/base.rb:1068:in
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
>


-- 
« La perfection est atteinte non quand il ne reste rien à ajouter,
mais quand il ne reste rien à enlever. » --Antoine de Saint-Exupéry



More information about the Radiant mailing list