Topic: How to install plugins ?
Doc free asked 6 years ago
I have bought several plugins. For instance wysiwyg and color picker. Now, how do I install them in my MDB Pro folder ?If I just drag and drop them into the folder, the second will overwrite the first...
Michael Boeding free answered 4 years ago
Hi,
This is confusing, I figured it out after bashing my head against a wall:
Run npm install //path/to/.tgz --save
Run "npm install", this will update the .lock file and allow you to see and use the plugin
NOTE Do not "cd" to the location just enter the path in the default terminal location of your project
gravey16 free answered 5 years ago
Going to be honest here. Getting a plugin installed is kind of a problem. Almost like the amount of time it took to get it right cost twice as much money as the cost of the plugin itself.
Bartłomiej Malanowski staff commented 5 years ago
Plugin installation is really easy. If you think it's not, do you have any idea how can we improve it to make it easier?
Arkadiusz Idzikowski staff answered 5 years ago
Do you need to install the plugin in Angular or jQuery project?
For Angular, we recently added installation guide to the plugins documentation, for example:
https://mdbootstrap.com/plugins/angular/wysiwyg/#installation
If you want to add the plugin to the existing project, then you need to copy only .tgz archive file , run npm install archive-name.tgz --save
command and import plugin module in your module file.
Ali Iranmanesh free answered 5 years ago
Could you provide more details on how this is done?
I have an angular project. I recently purchased the "mdb-file-upload-plugin-8.0.0" and unzipped the file.
I have moved this folder into the "mdbpro" folder. Yet, when I try to use "mdb-file-upload" i am getting angular errors.
Doc free answered 5 years ago
It doesn't work at all !
I moved a plugin into my pro folder, on my hard drive, and it replaced my style.css sheet, and 99 other files. The skin and sidebar nav didn't work anymore ! I had to reinstall the basic "Pro" files.
So how can I install these plugins without destroying previous works ?
Bartłomiej Malanowski staff commented 5 years ago
Can you show us what exactly is not working?
Doc free commented 5 years ago
What I did was to move the plug in folder over the regular MDB Pro.I was asked if I wanted to overwrite previous files. I said yes, and it overwrote 99 files.I did that for the Wysiwyg plug in, and then for the color picker plug in.Each time, it overwrote 99 files (including my style.css file...).
So, first, am I supposed to overwrite the existing files ?Will the plugin work if I answer "no, I don't want the original files to be replaced" ?
Bartłomiej Malanowski staff commented 5 years ago
You shouldn't overwrite original files. You should only copy the "missing" files
Doc free commented 5 years ago
Ok, I think you mean you "shouldn't" overwrite original files.
Thank you, that's what I needed to know.
Bartłomiej Malanowski staff answered 5 years ago
You can simply move your plugins from their packages to the MDB Pro package. They will not interfere with each other
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.6.1
- Device: PC
- Browser: Firefox latest
- OS: Windows 10 x64
- Provided sample code: No
- Provided link: No