[Radiant] Asset Manager Extension patch for use with 0.6.4

Loren Johnson loren at hellovenado.com
Wed Nov 21 09:07:49 CST 2007


Keith,

The future plans sound good. I personally have to cast my vote for you  
keeping a backward compatible file system version around for a bit as  
I've got several sites currently using the extension and I doubt I'll  
move all the images to the db side in those cases.

Either way, I've attached the patch for the current version to work  
with Shards. If you're comfortable tying it to that you'll see it's a  
very tidy way to go, probably easier than copying and hackifying the  
views anyway.

Cheers,

Loren

-------------- next part --------------




On Nov 20, 2007, at 11:12 AM, Keith Bingman wrote:

> Hey Loren, nice to see that someone is using this.
>
> I have totally refactored this, now it is not compatible with the old
> version, mostly because I am caching the images and storing them in
> the database. This lets me store one size and resize as needed. I have
> also switched the tagging around to use has_many_polymorphs, which
> seems to be working quite nicely.
>
> While it doesn't run on Shards (yet?), it is running using facets-
> light, the previous system that Sean built into radiant for his own
> page_attachments extension. So it should run with Shards without too
> much trouble.
>
> My current plan is to make to versions, one database backed, with the
> nifty resizing and a backward compatible version (which I need for an
> old site I have with 200+ images...). Slowly, it looks like I may have
> some time, too.
>
> Thanks again for the patch.
>
> Keith
>
>
>
> On Nov 20, 2007, at 6:40 PM, Loren Johnson wrote:
>
>>
>> Attached is a patch to make the Asset Manager Extension work with
>> the current Radiant 0.6.4 release. The only change is to app/views/
>> admin/page/edit.rhtml which is just a copy of the 0.6.4 edit.rhtml
>> with the Asset manager stylesheet and bucket inserts.
>>
>> Also, Keith's most recent blog entry indicates that he may be
>> refactoring this extension soon (http://keithbingman.com).
>> Personally I would like to see this become a Shards extension as it
>> seems that is quickly becoming the standard recipe for inserting
>> into admin views.
>>
>> Keith -- if you're listening, what are your plans for your Asset
>> Manager update?
>>
>>
>> <radiant_0.6.4_assets_extension.diff>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



More information about the Radiant mailing list