Re: [Radiant] Paperclipped extension

2010-06-15 Thread William Ross
Spanner fork doesn't display the bucket properly in 0.9 either. I was about to 
fold it back into paperclipped proper (in a branch, for Keith to consider) and 
i meant to do some 0.9 compatibility work at the same time. It should have 
happened a long time ago but i've been waiting for thoughtbot to release a new 
gem including the work i did on paperclip last year. They've done that now, as 
a side effect of the Rails 3 release.

If there is other work already done that i should just pull, please let me 
know. 

Will 




Please excuse speling. Fat thumbs.

On 15 Jun 2010, at 19:17, Jim Gay  wrote:

> On Jun 15, 2010, at 2:08 PM, Marshal Linfoot wrote:
> 
>> I've been struggling (unsuccessfully) to get the paperclipped extension to 
>> work on Radiant 0.9. The master branch at 
>> git://github.com/kbingman/paperclipped.git almost works, but clicking on the 
>> "Show Assets Bucket" button does nothing. Looking at the javascript console 
>> in the chrome browser, it could not find the dragdrop.js file. I symlinked 
>> the one in javascripts/admin and all the errors disappeared except for an 
>> "Uncaught ReferenceError: center is not defined" on line 101. Now what? 
> 
> The JS in Radiant changed. it now should be 
> $('some_element').centerInViewport();
> 
>> 
>> If anyone can help resolve this it would be greatly appreciated. Everything 
>> else is working like a charm on Radiant 0.9 edge; this is the last hurdle.
>> 
>> I wonder if I have the right paperclipped extension. There seems to be 
>> several on github. Can anyone advise me as to which one is the "officially 
>> supported" and most current version? 
> 
> This is official http://github.com/kbingman/paperclipped
> I'm presently working on updates to the code and the UI 
> http://github.com/saturnflyer/paperclipped and that should work for you too
> But you might try this one too http://github.com/spanner/paperclipped
> 
> 
>> 
>> Thanks.
>> -- 
>> marshal
> 
> Jim Gay
> Saturn Flyer LLC
> www.saturnflyer.com
> 571 - 403 - 0338
> 
> 
> 
> 
> 


Re: [Radiant] Paperclipped extension

2010-06-15 Thread Marshal Linfoot
Jim, thank you so much!

I downloaded your version and it worked after I made the
"$('some_element').centerInViewport();"  change to assets.js (I assume you
will do this eventually to your source).

Presumably, your changes will be merged into the "official" version at some
point.

For those of us, like me, who are not git masters, what commands can we use
to keep our extensions up-to-date with the latest changes made on github?
"git merge" perhaps?

Thanks again.
-- 
marshal


Re: [Radiant] Paperclipped extension

2010-06-15 Thread Jim Gay
On Jun 15, 2010, at 2:08 PM, Marshal Linfoot wrote:

> I've been struggling (unsuccessfully) to get the paperclipped extension to 
> work on Radiant 0.9. The master branch at 
> git://github.com/kbingman/paperclipped.git almost works, but clicking on the 
> "Show Assets Bucket" button does nothing. Looking at the javascript console 
> in the chrome browser, it could not find the dragdrop.js file. I symlinked 
> the one in javascripts/admin and all the errors disappeared except for an 
> "Uncaught ReferenceError: center is not defined" on line 101. Now what? 

The JS in Radiant changed. it now should be 
$('some_element').centerInViewport();

> 
> If anyone can help resolve this it would be greatly appreciated. Everything 
> else is working like a charm on Radiant 0.9 edge; this is the last hurdle.
> 
> I wonder if I have the right paperclipped extension. There seems to be 
> several on github. Can anyone advise me as to which one is the "officially 
> supported" and most current version? 

This is official http://github.com/kbingman/paperclipped
I'm presently working on updates to the code and the UI 
http://github.com/saturnflyer/paperclipped and that should work for you too
But you might try this one too http://github.com/spanner/paperclipped


> 
> Thanks.
> -- 
> marshal

Jim Gay
Saturn Flyer LLC
www.saturnflyer.com
571 - 403 - 0338