User login

How to

Information on how to do something... anything.

Setting up MAMP to work for the same scripts we use on the Debian server

I changed the mysql root password through phpMyAdmin... and promptly lost the connection– no! The password also has to be changed in MAMP's phpMyAdmin configuration file.

vi /Applications/MAMP/bin/phpMyAdmin/config.inc.php

$cfg['Servers'][$i]['password'] = 'changedpass'; // MySQL password (only needed

Drupal theming consulting- Panels and Views questions

Hi Benjamin,

Looking forward to talking tomorrow. I do have some questions ready so I'm inserting them below. I suspect we won't get everything covered in 30 minutes so if you do have time to extend to an hour that might be a good idea. I can pay ahead of time if you wish.

Search in Chandler

Fantastically helpful person on the Chandler-users list:

the menu item Edit > Find, or slash F (e.g., /f searchterm) in the quick entry (QE) bar will work also.

Starting fresh with CVS to avoid sticky problems

OK, this worked, in a completely fresh directory:

Ebony-II:~ ben$ mkdir /RCS/cvsfresh
Ebony-II:~ ben$ cd /RCS/cvsfresh/
Ebony-II:cvsfresh ben$ export CVSROOT=:pserver:agaric@cvs.drupal.org:/cvs/drupal-contrib
Ebony-II:cvsfresh ben$ cvs login

Logging in to :pserver:agaric@cvs.drupal.org:2401/cvs/drupal-contrib
CVS password:

Ebony-II:cvsfresh ben$ cvs co -l contributions/modules
cvs checkout: Updating contributions/modules
U contributions/modules/.project

Panels 2 Documentation

Panels 2 documentation

Handbook: http://drupal.org/node/201914

and more on Panels coolness: http://drupal.org/node/241344

Resolution

Theme admin_menu icon

You don't really need to, because it's set to use the favicon if you've provided one in your theme settings.

But to override this, as described in the admin_menu README, simply copy this function (hidden in admin_menu.inc at the time of this writing) to your template.php file:

Printing classes for a theme depending on sidebar

<?php
function _phptemplate_variables($hook, $vars = array()) {
  switch ($hook) {
    case 'page':
      // our own hook to remove sidebars from admin pages, not relevant here
      if (arg(0) == 'admin') {
        $vars['sidebar_right'] = '';
      }
     
      // layout for body classes
      $vars['layout'] = '';

Drupal Code Search

When using the interface to Google's mirror of Drupal and contributed module code that was set up by John Forsythe at Drupal Code Search, do not filter by code language type, or valid results will be inexplicably lost.

Syndicate content