David Piehler wrote:
> The developer never says anything about other file attachment types, so 
> I guess those don't drag-and-drop either.

And then it hit me. WYMeditor has buttons for adding links and images, 
so if I simply show a link next to each file, the user can right-click + 
copy the link and paste it into the appropriate WYMeditor pop-up.

In page_attachments/app/views/admin/page/_attachment.rhtml add after 
line 7...

<td> <%= %Q(<a href="#{attachment.public_filename}">link</a>) %></td>

It isn't drag-and-drop, but it works and is a lot more client-friendly 
than having them write their own Radius tags.

The drawback is that you are now saving full URLs (http://...) to the 
database.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to