CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Drupal

Drupal 7 – Adding and deleting Users

Drupal provides a simple user interface to create or delete the users from the Drupal system. User accounts are required to login into the Drupal system to access Drupal functionality. In this article, we are going to discuss the steps required to create or delete the users. Step 1. Sign in to your Drupal-based website […]

Drupal 7 – Creating a module (Part – 6)

We are almost done with our module. Just we have to implement the functionality when the module is installed or uninstalled. Drupal 7 loads the functionality from “.install” file whenever the module is installed or uninstalled. We need to write hook functions “hook_install” and “hook_uninstall” in “.install” file. So, Drupal 7 will call these functions […]

Drupal 7 – Creating a module (Part – 5)

We have successfully created a configuration settings form for our Example module. In our previous article we have instructed Drupal to create a form for us. Most of the form functionality is prepared for us by Drupal. Now when we submit our form, Drupal will call “example_admin_settings_submit” function. In this article, we are going to […]

Drupal 7 – Creating a module (Part – 4)

As of now, we have created a node on the Configuration page to place the link to change the example module’s configuration settings. Now we have to implement the functionality to run when the user clicks on the Example node from the Configuration page. That means, we have to tell Drupal to display the Example […]

Drupal 7 – Creating a module (Part – 3)

In our previous article, we have created a simple module that displays a “Welcome!” message whenever the user log-in to the Drupal-based website(s). Is that so simple to develop a module in Drupal 7? Yes, it is. But not this simple. Modules will do a lot of things. We have seen a simple part of […]

Drupal 7 – How to enable/disable Modules?

Drupal allows extending its functionality through modules. Drupal will display all installed modules on its modules page. And it allows to enable or disable the modules. Drupal will load and run the modules which are enabled. This article explains the steps to enable/disable modules in Drupal 7. Step 1. Log in to your Drupal website […]

Drupal 7 – How to set file system paths?

Drupal’s File module allows to upload and attach the files to content. The file module will use default locations to store and manage the files. Drupal allows you to set the locations where Drupal will store the files. Most of the time we can go with the default locations (file system paths) which are defined […]

Drupal 7 – Creating a module (Part – 1)

Drupal is the famous Content Management System used to build websites. Drupal allows extending its functionality by creating modules. Drupal has its own Core modules and allows users to develop their own modules; say Contributed modules and link with them with Drupal. In this series of articles, we are going to discuss creating modules in […]

Scroll to top