Tools ([3] drupal[2])

Facebook Twitter

Forgotten your Drupal 7 account password. When, in Drupal 7, the password for user 1 (the administrator) is lost and the email notification or drush methods don't work, it is possible to set the password via a database query.

Forgotten your Drupal 7 account password

But first, you have to generate a password hash that is valid for your site. Execute the following commands from the command line, in the Drupal root directory: . /scripts/password-hash.sh newpwd Check the first line of this script. Core templates. About overriding themable output. Last updated June 5, 2014.

About overriding themable output

Created on September 7, 2007.Edited by er.pushpinderrana, onefreewalk, hansrossel, add1sun. Log in to edit this page. The following only applies when the default markup needs changes. This section can be skipped if the presentation is handled only through style sheets. There are three aspects to overriding the themed output. Theme Test. Mobile Theme. Adds the ability to choose a mobile theme in admin/build/themes/settings which is used for serving users on mobile devices.

Mobile Theme

Mobile Detection PHPget_browserm. SubdomainBrowscapmobile_device_detect.php Mobile Themes This is a list of themes that work well on mobile devices. Color Theme. When the Color module is enabled, the Color Theme module changes the current theme on the theme settings pages to the theme whose settings are being configured.

Color Theme

For example, visiting admin/appearance/settings/stark will cause the Stark theme to become the theme, and visiting admin/appearance/settings/garland will cause Garland to become the current theme. It also excludes the theme settings pages from being displayed in the Overlay. The helps tremendously for theme developers integrating with Color module. Theme developer. Devel. A suite of modules containing fun for module developers and themers ...

Devel

Devel Helper functions for Drupal developers and inquisitive admins. This module can print a summary of all database queries for each page request at the bottom of each page. The summary includes how many times each query was executed on a page (shouldn't run same query multiple times), and how long each query took (short is good - use cache for complex queries).Also a dprint_r($array) function is provided, which pretty prints arrays. Useful during development.