[owncloud-devel] Three Button Option

Richard Parsons richard.lee.parsons at gmail.com
Fri Nov 20 08:44:21 GMT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20151120/9ebda6e1/attachment.html>


More information about the Devel mailing list