[Radiant] Page Attachments
Sean Cribbs
seancribbs at gmail.com
Wed May 9 14:37:42 CDT 2007
Updated!
Changes:
* Uses 'facets-lite' for adding the extra UI elements.
* Included 'update' task for copying the JS/CSS files to the public/
folder. THIS IS REQUIRED FOR IT TO WORK. Use this line:
rake radiant:extensions:page_attachments:update
* Test helper replaced (although tests may/may not work -- wait for
the next revision)
* Now uses attachment_fu instead of acts_as_attachment.
* Attachments are not deleted until the page is saved. Accidentally
removed one? Reload the page or navigate away without saving and your
attachment will be preserved.
Caveats/gotchas:
* You must have at least one of RMagick, MiniMagick, or ImageScience
installed for thumbnail generation to work.
* Currently uses public file system for storage. If you want S3 or DB
storage, DIY (minor changes necessary for S3).
* Uses svn:externals to get the latest attachment_fu. Not sure if
this will work with an export method (svn gurus please comment?) of
installation.
* REQUIRES Radiant edge r432 or greater (critical enabling change).
To get that, run
rake radiant:freeze:edge
Sean
On 5/8/07, Jim Gay <jim at saturnflyer.com> wrote:
> Geez. You'd think that all the money we pay for these extensions
> would help... oh, wait. ;-)
>
> Thanks Sean. I appreciate the work.
>
> On May 8, 2007, at 9:36, Sean Cribbs wrote:
>
> > You came to right place, Jim. I've been having issues with TxD,
> > actually - they bot my mongrel process regularly. The SVN should
> > still
> > work, though.
> >
> > Anyway, I have not finished updating the extension for 0.6.x (nor
> > ldap,
> > aggregation, mailer, search, oy! the list goes on). The primary
> > problem
> > is that it changes the page-edit interface directly by overriding the
> > template, but it should use another method. I apologize for my
> > slowness
> > on this, but I have a couple other projects going full-steam at the
> > moment. I might have a chance to update it while flying out of
> > town on
> > Thursday. In the meantime, I would graciously accept patches!
> >
> > Sean
> >
> > Jim Gay wrote:
> >> FYI. http://www.seancribbs.com/ is down
> >>
> >> I'm attempting to use Sean's page_attachments extension but I've
> >> installed it, migrated for it, and don't see anything different in my
> >> admin interface.
> >>
> >> What am I missing? I looked for info at Sean's site, but its down,
> >> and the README from the extension is empty.
> >>
> >> Thanks for any help.
> >>
> >> (running locally on OS X / Locomotive / MySQL / Radiant 0.6.1)
> >>
> >> -Jim
> _______________________________________________
> 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