Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: fxlacroix on August 11, 2010, 05:31:26 AM

Title: attachment_upload hook and plugin
Post by: fxlacroix on August 11, 2010, 05:31:26 AM
Hello

i'd like to know if it could be possible to write a plugin that replace the input file attachment by a special input interface...

thx for your help !
Title: attachment_upload hook and plugin
Post by: SKaero on August 11, 2010, 05:36:32 AM
I'm not sure what you mean, do you want to have a different upload box?
Title: attachment_upload hook and plugin
Post by: fxlacroix on August 11, 2010, 06:46:48 AM
thx for your reply,

yes i would like to custom the attach box...
i don't want to look for a file in my hard disk but from a distant repository...
Title: attachment_upload hook and plugin
Post by: SKaero on August 11, 2010, 06:57:17 AM
I think it could be done with a plugin and I know it could be done with a skin modification and a plugin. If you modified the skin you could change the attachment box command to a custom plugin command, otherwise you may have to use the render_page hook or maybe the JS before* hook.