42
How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl Musings of a Drupal Girl

How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

Embed Size (px)

DESCRIPTION

How to change permissions and install a module in Drupal - the basic, easy to read and understand, 101 way by a beginner Drupal girl.

Citation preview

Page 1: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

How to Change Permissions and Install a Module in

Drupal - Musings of a Drupal Girl

Musings of a Drupal Girl

Page 2: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 2

Disclaimer

I am only just a beginner in Drupal so I might not be able to explain everything right now, but I will try to do so to the

very best of my ability!

I am only just a beginner in Drupal so I might not be able to explain everything right now, but I will try to do so to the

very best of my ability!

Page 3: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 3

First: Starting up Drupal (re-cap)

Page 4: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 4

First: Starting up Drupal (re-cap)

• Click on “Go to my site”• You will get to your login page• Sign in and voila, you are in.

Page 5: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 5

First: Starting up Drupal (re-cap)

Page 6: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 6

Why change permissions?

• As an administrator who can set up accounts for users to use your website and to add blog posts, it is important to ensure you set up the proper permissions so that future users you decide to add cannot randomly add anyone else.

• To do this, go to "Configurations" > Account Settings (under the category of 'People’)

Page 7: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 7

How to Change Permissions

Page 8: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 8

How to Change Permissions

• You will then get to your Account Settings page that looks like this.

Page 9: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 9

How to Change Permissions

Page 10: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 10

How to Change Permissions

• Scroll down till you find the "Who can register accounts?" option under "Registration and Cancellation", then change the option to "administrators only”.

Page 11: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 11

How to Change Permissions

Page 12: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 12

How to Change Permissions

• Scroll all the way down and save it.• And voila, now only you, or others that you allow to

have administrator status, can add new user accounts.

Page 13: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 13

Hold up! Terms in Drupal?

• If that is what you were thinking when you first read this guide, welcome to my world!

• Lucky for us, there is the Drupal glossary; although I do have to admit that even some of their definitions are a little hard to understand, so I will try to break it down.

• For this guide, you will need to know what the basic concept of a module is, as well as what a core module and contributed module means.

Page 14: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 14

What is a Module?

• A module is a module (usually PHP and CSS, two web development languages; just like how HTML is a web language as well).

• There are 2 main categories for modules in Drupal.

Page 15: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 15

Core Module

• “Core” modules are already included when you install Drupal, be it the Acquia Dev Desktop way or the local host way.

Page 16: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 16

Contributed Module

• “Contributed” modules are created by Drupal enthusiasts, for use by the entire Drupal community (thank you!). These contributed modules are available for separate download from the modules section of Drupal.org downloads.

• While these modules are separate from the Drupal 'core', they may become part of it overtime.

• These are similar to additional items that other software have, with different names such as "plugins", "add-ons", "widgets" or "extensions".

Page 17: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 17

Modules

• To check out which core modules you have, simply go to "Modules" and you will find a list of it.

• Now you will notice that some core modules are not 'enabled' as they don't have a check within the checkboxes next to it. You can enable these currently 'sleeping' modules to enable more functionality in your site, but for now, we will leave them alone.

Page 18: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 18

Modules

Page 19: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 19

How to Install a Contributed Module

• Yes, it is true that you can do a lot with Drupal with just the core modules, contributed modules can offer you even more, such as a module called Views.

• The Views module provides a flexible way of allowing Drupal administrators to control how lists of posts are retrieved and presented. In the words of some enthusiasts, the Views module is almost essential.

Page 20: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 20

How to Install a Contributed Module

• If you are on Drupal 8, then you're in luck! The Views module is now a core module for Drupal 8!

• While for us on Drupal 7 (or earlier), we have to DIY and here’s how!

Page 21: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 21

Getting to your 'Install a module' page

• The first thing you have to do now is get to your "Install new module" page.

• To get to this, go to Modules > Install new module.

Page 22: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 22

Getting to your 'Install a module' page

Page 23: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 23

Getting to your 'Install a module' page

Page 24: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 24

Getting to your 'Install a module' page

• Now leave that page there, and open a new window/tab so that you can go to the Views module page.

Page 25: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 25

Getting the right Module link to install

• For whichever module you install, you always need to get the latest version of it under the "Recommended releases”.

• So at the time of this post, the "7.x-3.7" version of Views is the latest.

Page 26: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 26

Getting the right Module link to install

Page 27: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 27

Getting the right Module link to install

• Right click on the "tar.gz" link of the "7.x-3.7" version and 'copy link location'.

Page 28: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 28

Installing the Module itself

• Go back to your 'Install a module' page and paste the link into the "Install from a URL" section:

Page 29: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 29

Installing the Module itself

Page 30: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 30

Installing the Module itself

• Click install, and if all goes well, you should get this:

Page 31: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 31

Installing the Module itself

Page 32: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 32

Installing the Module itself

• However, sometimes, not all goes as planned. If the installation of your module fails, there are 2 ways to go about it.

#1. Go back and try again• You can press the back button, paste the link into the

'Install from a URL' again and click 'Install'. If that still doesn't work, you may have to do it the slightly longer way.

Page 33: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 33

Installing the Module itself

#2. Installing from a Module download• To do this, go back to the Views module (or

whichever module) page, and download the "tar.gz" file. Save it on your computer, in a place that you can find.

• Go back to the 'Install a module' page and search for the file under the "Upload a module or theme archive to install" section.

Page 34: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 34

Installing the Module itself

Page 35: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 35

Installing the Module itself

• Click install and you should get the same installation page as above.

Page 36: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 36

Enabling the module

• Installing a module does not mean it is enabled.

• So to ensure that you enable it, go to the "Enable newly added modules" link that is on the page after you have successfully installed a module.

Page 37: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 37

Enabling the module

Page 38: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 38

Enabling the module

• If you clicked on "Administration Pages" instead, not to worry.

• Just click on 'Modules' from the top navigational bar and you will be brought to your list of Modules.

• Scroll down until you find the 'Views' module, and enable it.

Page 39: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 39

Enabling the module

Page 40: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 40

Enabling the module

• Click on the checkboxes and save configuration

• Should you be asked to enable the Chaos module, just click continue. There certainly aren't any big problems with enabling a core module.

• For installing subsequent contributed modules, all you have to do is follow these same steps.

Page 41: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 41

How to Change Permissions and Install a Module

Page 42: How to Change Permissions and Install a Module in Drupal - Musings of a Drupal Girl

04/13/23 42

How to Change Permissions and Install a Module

• I would love to hear from you about my little guide! Was it easy enough? Was it too hard? Is there anything that I can do better or faster? What else do you want to find out next?

• Feel free to email me anytime at [email protected]. Till next post!

Musings of a Drupal Girl – How to Change Permissions and Install a Module