This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Joel Williams (author)
Sun Jun 01 02:18:20 -0700 2008
commit 454eb88bac9a3d31342f6f506091b71216f129ba
tree 9d86fa1ebbc7088e6e2d3faced65cb9ba800fd0e
parent 2bfd3ca5d44f39057bf796b65a1368a50ba76cd8
tree 9d86fa1ebbc7088e6e2d3faced65cb9ba800fd0e
parent 2bfd3ca5d44f39057bf796b65a1368a50ba76cd8
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
Rakefile | Fri Feb 29 06:43:36 -0800 2008 | |
| |
app/ | ||
| |
db/ | ||
| |
lib/ | Fri Feb 29 06:43:36 -0800 2008 | |
| |
page_attachments_extension.rb | Fri Feb 29 06:43:36 -0800 2008 | |
| |
public/ | ||
| |
test/ | Fri Feb 29 06:43:36 -0800 2008 |
README
= Page Attachments
The Page Attachments extension allows Radiant administrators to attach files
to pages. It can also generate and display thumbnails of uploaded images if
image_science, mini-magick, or rmagick are installed on the server.
Install the extension and run
rake production db:migrate:extensions
rake production radiant:extensions:page_attachments:update
When you login to your Radiant admin and edit a page, you should see an area
below the main interface that says “Attachments (0)”. Click the "+" icon to
add an attachment. You can upload multiple attachments at once. Attachments
will not be saved or removed until the whole page is saved. Therefore, if you
accidentally deleted something you meant to keep, simply cancel the page-edit.
<r:attachment name="file.txt">...</r:attachment>
<r:attachment:url name="file.jpg" [size="icon"]/>
<r:attachment:#{key} name="file.jpg" [size="icon"]/>
<r:attachment:image name="file.jpg" [size="icon"]/>
<r:attachment:link name="file.jpg" [size="thumbnail"]/>
<r:attachment:each [order="asc|desc"] [by="filename|size|created_at|..."]>








