User login

How to

Information on how to do something... anything.

Upgrade Drupal a version with an automatic patch

http://2bits.com/articles/upgrading-drupal-5-2-installations-to-5-3-security-releases-using-a-single-patch.html

Agaric has modified version the shell command version (listed by Khalid right above the comments) to be a script that can patch Drupal regardless of the name of its current directory..

Agaric's version is attached.

How to configure and enable blocks in Drupal

Create some blocks first, the add block link at the top of the admin/build/block page

these blocks would be in different languages

then create a multilingual block, which will let you slot these blocks in. Again, I'm fairly certain you want something for each block even if you don't have a translation-- put another translation in.

from here on the steps are the same for any block

first, click configure next to the block

here you can tell it what pages to display on or not to display on (so you want to do this step before turning the block on)

Make Apple Spotlight index PHP files

I got spotlight to search my php files

and, if I manually set their type to text files, the .tpl files that phpbb uses as templates. (Note: this is a really old note. No more PHPbb. I do Drupal now!)

Thanks to:

Taking Donations With Ubercart and PayPal Express

First, install ubercart. With Drush:

sudo php drush/drush.php pm -l http://agaricdesign.com/ install ubercart

Enable all Ubercart core required modules (in alpha 9 there is a bug which only allows you to check three of the required dcore Ubercart modules, but then Drupal will give you the option to enable the fourth).

Second, enable certain Ubercart - core (optional) modules:

How to theme (lots of) views the Agaric Way

I3IVIIVI: now, take a look at the template.php file
(10:20:54 AM) Dan Hak: you took out repeating code?
(10:21:15 AM) I3IVIIVI: yes, exactly
(10:21:22 AM) I3IVIIVI: the code that you knew was repeating
(10:21:35 AM) I3IVIIVI: because you weren't even copying it from the wizard anymore
(10:21:49 AM) I3IVIIVI: you were just changing that one spot :-)
(10:22:11 AM) I3IVIIVI: it was actually harder to refactor than I thought. I shouldn't have done it now

Repairing a corrupted table, aftermath of Apache using up server resources and taking down MySQL

The Aftermath of MySQL Dying (briefly)

Duplicate entry for key 2 query: INSERT INTO locales_target (lid, locale, translation) VALUES

after the fact, on going to http://www.wsf2008.net/eng/admin/user/access

Ask Agaric: Dvorak on a Mac

also, i have a mac, how do i get the keyboard on a mac?

Dvorak on a Mac:

Click that silly apple symbol at the top left, click System Preferences...

First line, Personal, click International, and then Input Menu.

Check Character Palette and Keyboard Viewer to turn both on.

Scroll down the alphabetical list of languages to Dvorak and select the FIRST Dvorak (not Dvorak - Qwerty)

Allow a different input source for each document has worked for me, but I'll switch it to Use one for all documents and see how that goes.

Ask Agaric: Making the book block link to the parent of a book node

bjornkri: Hello, I'm having a bit of trouble getting my head around overriding blocks. I'm trying to make the book-block title a link to the root of the book. I've a lot of questions about how to do that in fact, but to start with I'm not sure how to override it without changing the source... Anyone willing and able to send me in the right direction?
[10:35am] bjornkri: I tried making a block-book.tpl.php, but I'm not sure how to access the link to the root of the book from there, or if that's even possible

Serving up a different page.tpl.php for different browser types (i.e., IE6) with your Drupal theme

if you figure out just the most major IE issues
that would be good enough

I was able to figure out some CSS background image display problems, but the frustrating failure of columns (right column dropping below all content, left column being pushed out in front of the main content with narrow displays.)

This latter is a problem in all of bluebreeze, incidentally.

Syndicate content