One of the biggest problems with Joomla is server storage and the reason could be the number of files that you have stored in order to serve them to your customers but don’t worry! That’s not a trouble anymore because of the awesome tool offered by JoomUnited called Dropfiles that allows you to connect your site with some cloud services like OneDrive.
Dropfiles is a great extension that will allow you to create a downloadable version of you files in Joomla but it doesn’t just allow you to create these version of your files with the files stored in your server because Dropfiles has an integration that will allow you to connect your site with your OneDrive account.
In this post, we are going to learn how easy is to connect your site with a OneDrive account.
The first step in this configuration is create a Microsoft Azure App and it is really simple, just select some options and copy/paste some codes.
First of all, we have to go here here and log in with your Microsoft account, then click on “+ New Registration”.
You will also have to go to your Joomla site and go to Components > Dropfiles > Settings and on the OneDrive section, copy “Authorized redirect URI”, then go to the App registration form and paste the code that we have copied before in the “Redirect URl” section, select the name for your app and you can leave everything how it is now, finally click on the register button.
Now we are almost done, we have the application ID and only left the password(Client Secret), for that we are going to go to the left menu and click on “Certificates & secrets”, go to the “Client secrets” section and click on “+ New client secret”.
Then, just fill the description and set an expiration date.
Now, everything is set on the App side so let’s go to our site in order to finish the configuration, we are going to paste the Application ID in OneDrive Client ID and the Client Secret in OneDrive Client Secret.
Now, save the configuration and click on the “Connect” button.
It will open a popup, just click on “Yes” and everything will be connected.
It will show you a message “You're already logged in.” and that means that everything is fine with our integration setup and a root folder should be created in our OneDrive account.
We have successfully connected our Joomla site with OneDrive in some easy steps and now, we should know how this OneDrive sync works.
Now we are going to be able to create folders in our Joomla site and see them in our OneDrive account, it is possible in the other way too, in this example, we are going to show you how it is done.
First of all, let’s see our OneDrive dashboard.
As you can see, it is basically empty.
Now let’s go to our Joomla site to create a OneDrive folder, go to Components > Dropfiles and click on the little arrow that is on the “New Category” button, then click on “New OneDrive Folder”, a new folder will be created in our site called “New OneDrive” so let’s change this name to “Dropfiles Folder OD”.
Let’s add some files on this OneDrive folder in order to see if these files are on OneDrive too.
And if we go to our OneDrive account we will see all these files with that folder.
And yes! There is the folder with all the files inside :) Now let’s create a folder in OneDrive called “Folder created in OneDrive” and then, we will see if that folder is in our Joomla site too.
And now we can go to our Joomla site and, on the Dropfiles dashboard, we will click on Sync with OneDrive and the folder will appear.
And yes, there it is! Magic is done :) as you can see, everything is done and now you can manage your Joomla site from OneDrive and your OneDrive folders from your Joomla site.
The solution to saving your server storage is as simple as using your OneDrive storage you also will able to manage your OneDrive files from your Joomla site and manage your Joomla files from your OneDrive account.
You will be able to create awesome articles with a downloadable version of your OneDrive files and will look exactly like any other file stored in your server, all you have to do is obtain your Dropfiles membership here and install it in your Joomla site so what are you waiting for? ;).