
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...
cd /sites/PROJECTNAME/www/sites/all/modules/
sudo /srv/scripts/agaric-updatemodule.sh MODULENAMEsudo svn commit -m "uploading images will work so much better with the enctype set"
Well that's annoying.
Spend a good chunk of time creating a module to address a need, return to the thread that's been discussing it since 2006 June to post your efforts and discover it's just been updated to report that the module has been around since 2007 November.
Where the user, password, and database are all "xmp".
ben@blackbox:/var/www/xmp$ mysql -u xmp -pxmp xmp < IMPORT_THIS_TO_YOUR_XMP_DB.sql
ERROR 1045 (28000): Access denied for user 'xmp'@'localhost' (using password: YES)
i can't even get that to work
"THIS CARD CANNOT BE USED"
I cursed the card that I picked up cheap at instead of my camera
apologies to Taiwan... the 4GB SD card (Secure Digital High Capacity Memory Card) from Taiwan, and more recently Abacus 24-7 didn't work 'cause the Nikon D50 only accepts up to 2GB. Blast.
Here is a first draft of a function used in our project module and organic groups integration.
Following this model which was proposed to add assignment to other CVS account holders on Drupal.org itself:
http://drupal.org/node/253825
http://drupal.org/files/issues/253825_12_drupalorg.patch
Moshe is a Drupal God. Look at this! There's a hook for everything!
From og.modules own implementation of hook_og_block_details:
<?php
$links = module_invoke_all('og_create_links', $node);
// Modify these links by reference. If you want control of the whole block, see og_block_details().
foreach (module_implements('og_link_alter') AS $module) {
Eliminating other options:
This could be done with JavaScript, but we and the W3C and everyone's sanity would much prefer a pure CSS solution.
Can you have inline styles with pseudo classes (namely, :hover?)
No: http://www.frontpagewebmaster.com/m-351101/tm.htm
From http://www.christianmontoya.com/2006/02/01/pure-css-image-rollover/
This document takes us through the steps of figuring out how some output is produced (without an Integrated Development Environment with debugger) so that we can modify it. Skip straight to Agaric's answer in the resolution at the bottom if that's all you want!
All I want to do is throw spans around the links. Ah well. Here is the function below, modified to do exactly that.
It will do it to all sets of links passed through theme('links', $links) but so far on Agaric's example site, at least, that means only the primary links.
<?php
function examplezen_links($links, $attributes = array('class' => 'links')) {
From the Zen documentation How to build your own sub-theme (6.x), translated into bash commands. The project is called example, and we have installed the zen theme to sites/default/themes.
Someone enterprising could make this into a simple bash script.
cd /sites/example/www/sites/default/themes
sudo cp -pr zen/STARTERKIT/ example_zen