User login

Needs Improvement

Workable solution needs improvement

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'] = '';

How to share a screen capture view

You or you could get someone to look into screen capture meeting software
Clients ike they sort of expected last time?

One client used:
http://www.webex.com
"We've got to start meeting like this(TM)"
Sign up for a free trial of WebEx
http://www.webex.com/go/mcemfreetrial

How Drupal 5's Administration Theme functionality works

Drupal's administration theme functionality works very simply: if the first argument of the internal path is admin, the custom theme is set to the admin theme.

This suggests that the $custom_theme variable can be set by modules to change to any arbitrary theme, and it will override the default theme.

The setting of custom_theme to admin_theme is done in system module's implementation of hook_menu:

Put edit block links on blocks for easy use by administrators

UPDATE: The Zen Theme does this so, so much better, so we'll be stealing from it as soon as we get the chance.

Provide edit links to block and view blocks for admin users by modifying block template files in your theme.

This is very rudimentary but works for the most common blocks. I'm sure it can be generalized to work for all blocks no matter what module defines them.

Create edit-block.tpl.php

Theme Drupal search results

theme_search_item($item, $type)

http://api.drupal.org/api/function/theme_search_item/5

http://drupal.org/node/175013 => Customize the search results page

A separate issue raised in IRC:

Getting on Agaric's good side: how to put the cedilla under the c in Ben's name

Update: On Ubuntu, so long as third level selectors are turned on for the Alt key under System > Preferences > Keyboard > Layouts > Other Options, you can click Alt + , and then c.

On a Mac running virtualbox, this is actually option+, and c.

On a Mac (and the code for a PC) follow steps buried deep in this IM log... I wish all my tech support were like this:

Syndicate content