Tags » Drupal

In drupal 7, how to access additional user profile fields ?

In Drupal 7 we can add new fields to the user profiles using:

Configuration -> People -> Account Settings -> Manage Fields (admin/config/people/accounts/fields)

But those added fields are not part of $user. 40 more words


How To Fix URL Rewriting On Localhost

How to redirect domain from domain.com to www.domain.com using .htaccess file and fix the rewrite on localhost.


Backdrop CMS - Drupal Fork

  • (+) Configuration Management inklusive, alles Einstellungen werden in Dateien gespeichert und können auf andere Umgebungen übertragen werden
  • (+) Backend auf Views aufgebaut (mit besseren Verwaltungsmöglichkeiten), Views im Core…
  • 44 more words

Dropdown Administration menu - Module Introduction

It is difficult for me to imagine a Drupal site without Administration menu!

Install Administration menu module on your Drupal site to get a dropdown menu for site management… 121 more words


How to Backup a Drupal 7 Site using Backup and Migrate Module

Backing up a site is very important. A site made with Drupal is no exception.

In this tutorial, we learn how to backup a site made with Drupal… 574 more words


How to Install Drupal 7 Locally (using XAMPP)

In this step-by-step tutorial, you will learn how to install drupal locally (on localhost / your computer) usingXAMPP program.

In this tutorial, I use XAMPP 1.8.0, Drupal 7.15, and Windows 7; But, it doesn’t mean you are limited to those. 905 more words


Drupal 7: How to reset admin password

Saved it as password-reset-admin.php

define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
require_once DRUPAL_ROOT . '/includes/password.inc';
if (isset($_GET['pass']) && !empty($_GET['pass'])) { 
$newhash = user_hash_password($_GET['pass']);
else {
die('Retry with ?pass=PASSWORD set in the URL');
$updatepass = db_update('users') 
'pass' => $newhash,
// 'name' => 'admin',
// 'mail' => '<a href="mailto:yourmail@domain.com'">yourmail@domain.com'</a>;
->condition('uid', '1', '=')
print "Done.
43 more words