Agaric Design Collective

Tech

Right now you're probably thinking, is it technology? technical? techno?

The answer: Yes.

This is the most comprehensive reference on the interweb for all things drupal related, from theming to configuration, custom coding, and even server setup. There's even some stuff on Wordpress...

Well, uh, maybe not the most comprehensive, or comprehensive at all for that matter, but there is some really useful information here, and we are constantly adding more of it.

Some of us more than others...

More tech than you can handle

Using Drush (experimental release) to add modules from outside a site

sudo ~/drush.experimental.6/drush.php -r /var/www/drupal-6-agaric-core/drupal pm install link

On sharing the command with an esteemed Agaric colleague, I realized that the instructions had to be tweaked slightly... for another person, even if run

on /our/ server... and the way that's written, *anywhere* on our server

 

Open Archives style metadata exposure for Biblio module

There is a module to provide an Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) interface to the Bibliography module.

http://drupal.org/project/oai2
http://www.openarchives.org/pmh

 

Drupal use schema for uninstall

Even some quality modules by very good developers are still using db_query("DROP TABLE {example_table}"); rather than the schema just defined and properly used by the update.

But sure enough, the hook_uninstall API documentation example shows the use of schema:

<?php
function example_uninstall() {

 

The Drupal way, in a sentence

On IRC #drupal:

webchick: What I would rather do is pimp out trigger module so we could do that kind of stuff just through configuring some actions

 

Shell commands for untarring (and deleting the archive) a bunch of gzip files

In the process of adding modules Agaric finds useful to Drupal development to a special git repository I did a bit of bash command line scripting that was fun for me:

After a bunch of wget's like:
wget http://ftp.drupal.org/files/projects/schema-6.x-1.3.tar.gz

I ran:

 

Views creating blank rows? Check your node type filtering

The 'Items to Display' in Views is set to 10. The number of blank lines that show are the difference between the limit in Views and the actual number of items in the table. So in this example, there are 7 extra blank lines (odd/even coloring) in Firefox -- there are no extra blank lines in IE.

Agaric wrote:

 

Moving mail handling to a new server

Some quick notes from the process, captained by Stefan.

Change the MX Record:

Old Information
Domain Preference Exchanger

New Information
Domain Preference Exchanger
mtgrading.com 10 mail.agaricdesign.net

Or actually, keep the old one, but set it at a higher number (and so lower preference).