January 29, 2016 at 5:38 am #1050
Video Link: http://youtu.be/y3Zg7HsSEDU
————————– Begin Transcript
Welcome to the first video in the series: “How to make a mobile phone unlocking website”.
My name is Henry and this first video really applies to any basic Drupal installation requiring Ubercart as the e-commerce solution.
If you’re planning to sell online, there are couple of great commerce module options out there for Drupal, but we’ll focus on Ubercart since that’s what I’m using on my website.
If you’re not planning to make a mobile phone unlocking website, that’s ok. This first video just covers very basic module installation procedures or the simple actions that you’ll have to go through no matter what kind of website you’re putting together.
Modules are just an extension to the Drupal content management system or CMS.
If you looked at the first video, you would’ve been directed to the website letting you know that it’s best to have a basic Drupal 7 installation up and running in order to get the most from this video series.
If you haven’t done that already, it might be a good idea to get that out of the way.
So what we have here is what your site should look like after a simple core or basic Drupal installation.
I just made some adjustments to the site information based on this tutorial that we’re going through.
We’re going to go right ahead here and log in as the administrator.
Remember, our goal in the first video is to install the necessary modules to support Ubercart.
And of course, the first thing that we have to do is install the module: Ubercart.
So, we click on “modules”… now this option only appears when we’re logged in with the role of an administrator. And that’s automatically set up for us when we first installed Drupal.
It’s a good time to mention that there are two methods of installing modules in Drupal: either by way of the file system or if your site is being hosted remotely, you can install modules via the URL location of the module.
The file system is more of a manual way to go as we’ll see in a moment, whereas the URL method allows Drupal to do most of the work for you during installation of the module.
When manually installing modules by way of the filesystem, we have to be sure of the correct destination for our module files.
You see, Drupal has its core module files located here in this modules folder. That’s not where we want to put our new modules. Under our main Drupal installation folder, we need to navigate to the “sites” folder … then to the “all” folder and finally to the “modules” folder.
Taking a look into the modules folder, we see that no modules have been installed as of yet. Because this is a fresh, brand new Drupal installation. There shouldn’t be any modules in there, yet.
So let’s go find our Ubercart module. Here’s what we can do: Using the search engine of our choice, let’s precede what we’re looking for with “Drupal 7”, followed by “ubercart” and let’s see what we get.
Ok, we see a result here: “drupal dot org, forward slash project, forward slash ubercart”.
Let’s scroll down to check the version … we know we’re running Drupal seven and … here we go, we’ll just download that compressed file from here.
And now, let’s navigate over to the folder to where we downloaded it and decompress it.
We’re going to need to upload this or copy this newly expanded folder to the “modules” folder that we located earlier.
If you prefer to upload or copy the compressed file into the “modules” folder and then expand it there, that’s ok too – as long as it’s in the correct “modules” folder.
I’m using my FTP client to upload the entire folder and we will not watch that, because that’s going to take a considerable amount of time and I’ve only done that for demonstration purposes.
As we can see here, there’s our new Ubercart folder installed and ready to go. However, before we enable the module, let’s see how to install a module using the second method, by way of the URL.
For this method, we simply copy the link location, click on our modules link in the admin’s menu … click on “install new module” and then paste into the “Install from a URL” field.
By the way, Drupal just took care of copying, decompressing or expanding the module’s files and placing them in the proper “modules” folder as we did earlier.
Once that’s done, we’re ready to enable the newly installed module.
But, we can’t right now because the Ubercart module depends on other modules that are “missing”, as we see here.
Like the “Rules” and the “Views” modules which we need to install.
To find these modules, we’ll use a method of typing the name of the module that we’re looking for directly into the URL.
In this case it would be “drupal dot org, forward slash project, forward slash the name of the module”. In this case it would be “Rules”, just to see if we can find the module faster.
And there we have it.
Let’s go ahead and install this in the same way that wed did previously, by copying the link location and installing by way of the admin’s modules menu.
If we look back at the list of installed modules, we’ll see that there were some module entries listed as “missing”.
Clicking on the modules menu and then searching the modules page for the word “missing” will tell us which modules we are still in need of before we can properly enable the Ubercart module.
There’s something we need to do after every new module installation and that’s run the update script as it says here. Sometimes a module may make modifications to your existing tables in your database or it may even create new tables for its own use.
Just looking around at the missing modules, one in particular looks interesting. It’s the “i, one, eight, n, underscore, string module”. Yes, that’s a capitol “i”, by the way, and not an “l”.
Let’s try finding that module by pasting its name in the URL to see if we can find it quickly.
Hmmm, “Page not found”.
Here’s where things get a little interesting.
There’s another way we may be able to track down that module and thats by refining our search by selecting “modules” here and then entering the module name in the search field.
Ok, we still can’t seem to find the actual module – oh wait a minute, it says here, right here, something about “Internationalization module”.
Let’s give that a try in the URL to see what shows up. Let’s give the copy and paste another try here and see … what we get there.
… and no good. Ok, let’s give the “Refine your search” another try here.
Scrolling down and scrolling and looking carefully. Ok, right there: “Internationalization”. It looks good. Let’s see.
There it is! A quick look at the URL reveals that it was hiding behind “i, one, eight, n”.
And, we’ll go ahead and install this one as usual.
Now, anymore missing modules? Let’s see. Here’s another interesting one: “Googleanalytics”.
Let’s plug that in to the URL to see where it takes us.
Abandoned? Wait a minute, that’s, that’s not even what we’re looking for.
We want “Googleanalytics” not “Googleanalytics Lite”.
Looking closer at the paragraph, that’s seems to be what we’re looking for here: “Google Analytics with Drupal 7”
Let’s give it a click. And, it looks like we’re good to go.
Even taking a closer look at the URL, we see that the module we were looking for has an underscore between the two words as opposed to being one long word. So, again, we’ll go ahead and install this the usual way by copying and pasting the URL.
Sometimes you might think that installing just one module might be all that you need.
Unfortunately, that’s not always the case. In fact, here’s the list of all of Ubercart’s dependent modules. These are the modules that it needs in order to function properly.
The Views module needs the CTools module, which depends on the Panels module and the Advanced_help modules.
The Rules module depends on the Entity module. The Entity module supplies the necessary Entity_token. The Rules module also needs the “i, one, eight, n, underscore, string” or Internationalization module, which in turn depends on the Variable module.
Lot’s of module dependencies going on here.
And finally, we have the Googleanalytics module.
Again, these are all of the modules that are necessary to have Ubercart function properly in our Drupal installation.
Please keep in mind that, after each module installation, it’s good practice and often required to run the update script after each module installation.
On a production site, user’s are notified ahead of upcoming maintenance. But, in all cases a back up of the entire site is usually made before any updates are applied.
The exact protocol varies depending on the working environment.
So, one more time: You’ll need to have all of these displayed modules installed so as to be able to utilize Ubercart to its fullest potential and before moving on to our next video: “Ubercart Module Configuration”.
————————– End Transcript
The forum ‘StockUnlocks Drupal Module’ is closed to new topics and replies.
LG Worldwide Complete Level Delivery, remote IMEI unlocking service, 24/7: 1-60mins