User login

How to

Information on how to do something... anything.

Presentation on Presenting

Emma Jane Hogbin's pre-Conference session, "Presenting You!"
http://dc2009.drupalcon.org/session/presenting-you-workshop

[paraphrased, I know it better as "...and tell them what you told them"]
Tell people what you are going to teach them.
Teach them.
Tell people what you taught them.

For a 45 minute presentation, can break your presentation into 15 minute chunks:

Combining first and last name form fields to make a suggested preferred display name with JQuery

Names are one the annoyances of the web development world. We want to have everything be neat, to have our brilliant content management system (Drupal) take the raw data (a site participant's name) and display it as it makes sense in different contexts.

Sometimes it comes down to asking people what they prefer to be called.

Setup an Ubuntu Development Environment the Agaric Way

Update: See Installing Drubuntu

Use the following commands to set up a development environment on Ubuntu (8.10).

Adding the date and time to quoted messages in Thunderbird reply e-mails

To add a date and time to the quote of messages you are replying to:

  1. Go to Preferences (on a Mac, at least, and this will be under the main Thunderbird menu)
  2. Click on the Advanced icon
  3. Stay on the General tab and click the Config Editor... button.
  4. Search for reply_header_type
  5. Double-click the value field of mailnews.reply_header_type, and
  6. Change this from 1 (in my case) to 2.

You're done!

Passing an argument from a block to a page with Views 6

Posting an old and embarrassing note, but this may help other hapless googlers find that the answer is right at home in their Views user interface.

Skip to the conclusion for the answer

apologies for a question that feels like support, but it is either too advanced or too simple to be documented anywhere. We have a block view that shows

where can one put custom code to run even if an argument is provided -- code to modify/transform an argument, not just provide a default if none is present?

Upgrade Subversion on Mac OS X using MacPorts

Disclaimer: I have no idea if this is the best or cleanest way to replace the svn used by Mac OS X, but it's what worked.

(I did not use this way, "Upgrade subversion client on mac osx," gridshore.nl/2008/12/21/upgrade-subversion-client-on-mac-osx/ )

Instead, I used MacPorts:

http://www.macports.org/ports.php?by=name&substr=subversion

Using jQuery to auto select text in a field

So you've custom themed a search bar into your brand spanking new custom theme using my handy tutorial covering that topic (http://www.agaricdesign.com/note/theme-search-form-drupal-6)

Change the SVN branch your repository checkout is using

As shown here http://svnbook.red-bean.com/en/1.4/svn.branchmerge.switchwc.html

it is simply the svn switch statement with the path to the respository (which in our case was at svn://example.com...)

svn switch http://svn.example.com/repos/calc/branches/my-calc-branch

Resolution

Loading included files the Drupal way

The usual PHP functions include, require, include_once, and require_once should not be used in Drupal to load files from modules that aren't your own. Instead, use module_load_include():

http://api.drupal.org/api/function/module_load_include/6

See also http://api.drupal.org/api/function/drupal_load/6

Documenting a Drupal site using the Advanced Help module

In the Agaric annual brainstorm, it occurred to me that the Advanced Help module could also be used for site-specific documentation— both for users and developers.

Documentation is not something you want to trust to the vagaries of the often unstable content of a site in development, but at the same time you would rather have configuration and use information embedded in the site than in a separate document of which everyone needs to keep track.

Syndicate content