joni2back / angular-filemanager

JavaScript File Manager Material Design Folder Explorer Navigator Browser Manager in AngularJS with CSS3 Responsive (with FTP in PHP / Java / Node)
https://joni2back.github.io/angular-filemanager/
MIT License
1.76k stars 577 forks source link

How to embed angular-filemanager into an existing page #237

Open inlakin opened 7 years ago

inlakin commented 7 years ago

Hi,

Thanks for the plugin, it is great, and exactly what I was looking for :)

However, I don't want to have a fullpage with it but rather embed it into an existing webpage of mine. The idea is to allow visitors to check, download and upload file to the server (as you might imagine).

I started an simple project without bower nor anything. Just plain html, css and angular (no seed). Therefore I initiated into my project a bower project with bower init, filled in the informations needed and then load your plugin with the given command line. Afterwards, I included the necessary inclusion in my headers (without bootstrap and angular already charged) and changed the following lines

<link rel="stylesheet" href="dist/angular-filemanager.min.css">
<script src="dist/angular-filemanager.min.js"></script>

to

<link rel="stylesheet" href="bower_components/angular-filemanager/dist/angular-filemanager.min.css">
<script src="bower_components/angular-filemanager/dist/angular-filemanager.min.js"></script>

because I couldn't see any dist at the root of my folder.

However, I can't manage to have an output ..

Idea ?

EDIT: As I didn't do much before merging with your plugin, I build my page on top of this project after cloning it .. (easy fix for now, but I am still interested in the solution)

durasj commented 7 years ago

Hi @inlakin ,

what is it please that didn't work? Do you mean you didn't get a list of the files / bridge error?

There is a great possibility you didn't have a bridge configured correctly.