Agaric Design Collective

Drupal Development

complex view example

<?php
$view = new view;
$view->name = 'contributions';
$view->description = 'Articles and Commentary';
$view->tag = 'content type';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

 

Jamaica Plain Meetup in Roxbury reportback

Report-back on Jamaica Plain Drupal Café.

I tried to sell everybody on funding Decisionmaking API. No checks were handed over on the spot.

 

Checkout a specific revision of a file with Git

git checkout abcde file/to/restore

Reference:

How do I reset/revert a specific file to a specific revision using Git?
http://stackoverflow.com/questions/215718/how-do-i-reset-revert-a-specif...

 

E-mails being sent or nodes being saved by batch api breaking on a regular schedule just during cron runs

If you are having weird problems in Batch API processes, such as the base URL for notification e-mails being replaced with something less-than-useful like /var/www/drupal, the culprit may be (somehow) cron.php being called by a command line script (rather than curl or something going to cron.php over the internet).

 

MetroWest Drupal Meetup

A good meetup and a stellar example of Drupal free association. We started with a look at how to do recurring, role-enhancing subscription payments with Ubercart because Scott McCabe as well as Dan was at that point in a sight, we were all distracted by something shiny – Views theming I think – and things flowed from there.

 

Having the top-level menu items not be links (for use with dropdown menus)

The best approach may be to avoid this entirely with proper information architecture. I always try to make these have meaning themselves, but certainly with not expecting most people to click on them anyway, this does not always make sense. Instead, the way Agaricer Kathleen did it for one project is simply to have each dropdown be a separate menu.