[Radiant] Re: Using Page_Attachments in custom extensions

2008-04-17 Thread David Piehler
David Piehler wrote:
 I'm building a few extensions for a client project and would like to tie
 Page_Attachments and WYMeditor into the new/edit screens of my
 extensions. Currently Shards allows these two extensions to integrate
 with Radiant's page editing tools, but how would I get them to play nice
 with my custom admin screens?
 
 Any pointing-in-the-right-direction would be appreciated. Thanks!

I guess what I am really asking is if I can take advantage of these 
existing plug-ins, or if I need to use attachment_fu and wymeditor on 
their own in my new extensions. I'm assuming the latter, right?
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Using Page_Attachments in custom extensions

2008-04-17 Thread Andrea Franz
On Thu, Apr 17, 2008 at 5:18 PM, David Piehler [EMAIL PROTECTED] wrote:

 I guess what I am really asking is if I can take advantage of these
 existing plug-ins, or if I need to use attachment_fu and wymeditor on
 their own in my new extensions. I'm assuming the latter, right?



I think you could inject a javascript file in the edit page from your
extension that add some functionality.
For example from your js you could add a button near the name of
each attachment that add it in the editor.
Is that what you need?

-- 
Andrea Franz
http://gravityblast.com - http://nimboo.net
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant