User login

Agaric

Need to have one number go to one of several accounts based on availability

Hello,

We at Agaric have what we thought would be a common need-- to have one support number / Skype account that our clients can call be picked up by whichever of our several members around the world (Germany, India, and the US so we cover the time zones pretty well!).

I cannot figure out how to configure this.

Boost caching: what refreshes it and how?

A normal (node) page triggers the Drupal-integrated Boost cache to expire and replace the page whenever you edit it. Editing a view unfortunately does not have such triggers. In this case the views are attached to a node, so simply resaving the node rebuilds the cache.

In most cases the view itself will not be modified, rather, you will add or edit a node associated with a view which also refreshes the cache for that views pages. (Note this takes a bit of processing to look up, and i don't think it will apply for blocks.)

Toward an automatically deployable per-project ticket tracker and project management site

Automatic Benefits:

Your clients learn to use an environment similar to the site you are building for them, rather than the different markup syntax and behaviors of trac or other system.

Features:

  • URL fields for bug reports which would be able to replace (or generate) the base URL with a defined set of URLs for development, stage, or production sites in use.
  • Time tracking?

Resources:

Account management with LDAP

Add new user

$ sudo cpu useradd user

Add existing user to group

$ sudo ldapaddusertogroup user group

You can check that the add has taken effect by looking over the lists of groups the user is in (due to caching this may take some time):

$ sudo -u user groups

Add a subsection class to Drupal page body for theming Views and other parts of a site that can be defined by parts of the path

I had wanted to add the name of the view with its display to the body classes (Views apparently provides everything but that combination, and not all browsers we need to support deal with matching on two sibling classes). Looked in Zen for how to do it first though and as a consequence saw a way to add new sub-section body class with the first two parts of each URL.

This goes in your zen subtheme's implementation of preprocess page:

Mysterious insertion of paragraph tag (in DOM only, not in code) inside span

.section-aboutus .date-display-single {
  color:#2d95c1;
}

.section-aboutus .date-display-single p { margin:0px; padding:0px; }

Can that second CSS rule call the p tag into being?

Definitely one of the freakiest things I've seen. The source code contained no p tag within the span. The code shown by Firebug and Safari's inspector both had the the paragraph tag.

Actual source code:

<p>Tri Star Pictures <span class="date-display-single">2009</span></p>

Fixing Menu Block for menu items with the same path (that also have another valid path)

"exanded" elements of a menu-item-rooted tree aren't expanded
http://drupal.org/node/398888

Working modified function (the patch has more):

Make modifications to a sidebar block menu that primarily mirrors top-level drop-down menu

Using the magic of menu block (dev) and menu attributes.

theming menus
drupal menu theming

Another great reason to use Menu Block - the menu block alter function.

Check for duplicate titles of a node with AJAX to warn immediately before entering more data or submitting

Attached is a custom module that piggybacks on Unique Field and steals most of its other code from username_checkUsername Check.

Commit message: "Working Unique Field AJAX enhancement for node titles. Pretty sweet. It doesn't take away the duplicate warning when you change the title to not be duplicate, but it does change to a green checkmark (courtesy of the username_check module from which I also stole most of the code)."

Below, tales from

See all path aliases for a node

Now a module! http://drupal.org/project/showaliases

drupal show all paths
drupal show all paths for a node
show alias
aliases
paths
drupal module list aliases

Show path aliases to nodes in other languages
http://groups.drupal.org/node/24171

Syndicate content