GithubHelp home page GithubHelp logo

Comments (2)

Vikas-Stormy avatar Vikas-Stormy commented on May 18, 2024

you have to place that in frameworks default search for the files . and given that fodler location in you template . if you use gulp then this modifications should be compiled there also
feel free to ask ..

from angular-filemanager.

joni2back avatar joni2back commented on May 18, 2024

Hi @ktamilvanan , to change the templates folder, you need to do the following:

Edit assets/js/config.js and gulpfile.js, then define the path in tplPath variable.
The changes should be like this...

diff --git a/assets/js/config.js b/assets/js/config.js
index e79e536..a57b11f 100644
--- a/assets/js/config.js
+++ b/assets/js/config.js
@@ -35,6 +35,6 @@
         isImageFilePattern: /\.(jpe?g|gif|bmp|png|svg|tiff?)$/i,
         isExtractableFilePattern: /\.(gz|tar|rar|g?zip)$/i,
-        tplPath: 'assets/templates'
+        tplPath: 'NEW/TEMPLATE/PATH'
     });
 })(angular);
diff --git a/gulpfile.js b/gulpfile.js
index 0e4e0d1..5f713b5 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -12,7 +12,7 @@ var path = require('path');
 var src = 'assets/';
 var dst = 'dist/';
-var tplPath = 'assets/templates' //must be same as fileManagerConfig.tplPath
+var tplPath = 'NEW/TEMPLATE/PATH' //must be same as fileManagerConfig.tplPath

So, after that, you must run gulp build in the console.

from angular-filemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.