[owncloud-devel] Three Button Option

Jan-Christoph Borchardt jan at owncloud.com
Fri Nov 20 14:48:33 GMT 2015


Just out of curiosity, which app or mechanism would you like to  
register there? :)


Richard Parsons – Fri., 20. November 2015 9:44
> Yes, I meant the files app. Thank you!
>
>
> On Fri, Nov 20, 2015 at 8:42 AM, Vincent Petry <pvince81 at owncloud.com> wrote:
> Hi,
>
>
> Which three dot menu ? In the files app ?
>
>
> You can use OCA.Files.fileActions.registerAction() to create new file
>
> actions. See how the text editor does it:
> https://github.com/owncloud/files_texteditor/blob/master/js/editor.js#L256
>
> Don't use "setDefault" though.
>
>
> Cheers,
>
>
> Vincent
>
>
> On 11/20/2015 09:32 AM, Richard Parsons wrote:
>
> > Hello
>
> >
>
> > I'm a new Owncloud app developer, but I've looked at the tutorial and so
>
> > forth.
>
> >
>
> > When writing an app, how do I get a new option avaliable in the "three dot"
>
> > menu to run some code in my app?
>
> >
>
> > Many thanks
>
> > Richard
>
> >
>
> >
>
> >
>
>
> > _______________________________________________
>
> > Devel mailing list
>
> > Devel at owncloud.org
>
> > http://mailman.owncloud.org/mailman/listinfo/devel
>
> >
>
>
>
> _______________________________________________
>
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
>
>
> -- 
> Richard Parsons
>  
> Email:  richard.lee.parsons at googlemail.com
>
>
>
>
>
>




More information about the Devel mailing list