Skip to content

Standalone filebrowser #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
charliefancelli opened this issue Apr 17, 2013 · 3 comments
Closed

Standalone filebrowser #13

charliefancelli opened this issue Apr 17, 2013 · 3 comments

Comments

@charliefancelli
Copy link

Hi,

Great work, CKEditor integration is amazing.
But i would like adding a standalone button that can open ElFinder and after use the getFileCallBack to put the path in a input type "text".

A try find this information in your wiki but i didn't.
Is it possible to do ? I will be great.

@helios-ag
Copy link
Owner

I think the solution located here http://elrte.org/redmine/boards/2/topics/1230
should solve your problem. Simply create twig template, and replace this part
url : 'connectors/php/connector.php',
with url: '{{path('ef_connect')}}'
I didn't test it, but i think it should work.

@charliefancelli
Copy link
Author

think, i will test it soon

@andrejs-uibo
Copy link

Tried the solution, but js doesn't seem to be able to find elfinder function:
Uncaught TypeError: Object [object Object] has no method 'elfinder'

And how does the standalone work exactly? I need it to be available in tinyMCE and as a standalone as well. Is this possible?

Im using Symfony 2.2 with Sonata Admin Bundle, stfalcon's TinymceBundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants