Quantcast
Channel: Developments
Browsing all 42 articles
Browse latest View live

Mailman as a bulk mailer – imported member managment tips

I have 20000 email subscribers for two email lists (cjobs and ucjobs). These were all imported into our new Mailman service. I had a few settings I needed to change to accommodate using Mailman as a...

View Article



Branching with Git – keeping remote and local sync’d

Update 8-14-2012. I posted a follow up to this post here: Branching with Git – Follow up on keeping remote and local sync’d Max pointing me to his method of branching, inspired by:...

View Article

Drupal 7 CCK – Creating ‘Label Bulk Operations’

I have a new D7 site in the works and I found that I wanted the majority of my content type field labels to display: inline as opposed to the default: ‘above’. Several of my content types have dozens...

View Article

Drupal DB backup bash script with Drush and Git

I like to make incremental backups of my drupal databases. To do that I’ve tried combine the best practices* into one bash script that I can run periodically and easily. The end result is a bash...

View Article

bash function – ssh-copy-id for mac

The bash function: ssh-copy-id is a linux script that enables you to copy your public ssh key to a remote server for authenticated but password-less ssh sessions. Apparently it can be installed on a...

View Article


bash function – git-patch()

We’ve been trying to review more Drupal 8 patches on Drupal.org with this workflow: I found that be cumbersome so I created a bash function to simplify this. Usage example: $ git-patch stat URL.patch...

View Article

bash function – cddrush

This is a quick function that reduces the keystrokes for using ‘drush dd’ in a cd command like so: cd `drush dd @my.site.alias:%site` Which is great but this is simpler cddrush my.site.alias Oh, that’s...

View Article

Drupal 7 Field Collection for build an order form

I’ve been leveraging the Field Collection module in a few projects lately and today I created a quick demo of how it could be used in a print shop order form. Thanks to Joseph (here at the UO and...

View Article


Drupal 6 – Set the Relative Weight of a Custom Module

I converted a template.tpl.php override to a module override for attachment_links recently. One of the interesting functions I had to use was hook_enable. Hook_enable is handy for setting the module...

View Article


Branching with Git – Follow up on keeping remote and local sync’d

I saw a follow up comment on the article that I built my git-create-branch function on and so I updated the code. *Thanks goes to Olivier Clavel. Here’s the update:...

View Article

Drupal 6: Using jQuery to pick up where views_calc falls short

Views Calc is a great Drupal module but there are a few things it doesn’t do. It doesn’t: Accommodate totals by group Total CCK viewfield field values Total Views Customfield PHP values I wanted to fix...

View Article

Custom Drupal 6 Module (Hack) to filter TableWizard Data by Dates in Views 2

I use Drupal to do some reporting on non-Drupal data using Views and TableWizard. It works pretty well but there are some serious limitations with relationships and filters. I use a number of...

View Article

Drupal 7: jQuery and Subtotaling Views Calc Tables

As a follow up to Drupal 6: Using jQuery to pick up where views_calc falls short, I worked on a project this week that used views_calc in D7 and we wanted to leverage the same subtotaling that I...

View Article


Auto_populate_from_History_via_up_and_down_arrow_key

I posted a highlight of some bash code that Jason H shared last year in my git_bash_files repo on bitbucket. Auto_populate_from_History_via_up_and_down_arrow_key

View Article

Presentation tips & tools in OSX

I was at the Pacific Northwest Drupal Summit this past weekend as both a participant and presenter. I came away with some new information but some of it was less about Drupal and more about presenting....

View Article


Bind commands in .bash files don’t play nice with Dreamhost logins

Recently I posted a link to some code highlights: Auto populate from History via up and down arrow keys. I’ve been using that code for several years in a number of bash terminals; on my Mac, several...

View Article

Updated views to speed up admin pages

Commented out recordCount function in feedback and site_migration_list views. That function was running very slow; 540ms per page load in the case of the migration block. Perhaps it’s the lack of...

View Article


Testing web pages in multiple browers with appleScript v.2

This is a follow up to a post from a few years ago: Using applescript to open a url in several browsers. I’ve made some updates to the script since then and a few them were today so I thought I’d...

View Article

Drupal – Add a datestamp to your custom modules

I have several custom Drupal modules and when ever I make revisions & create a new version I update the datestamp. Here’s a bookmarklet I use in Firefox to generate a datestamp. Datestamp. Just...

View Article

Drupal hide/show a sidebar with jQuery

I’ve hid the right sidebar on the HR website today. I used jQuery so that it degrades gracefully when users don’t have JS enabled. The sidebar-right region is used for ancillary information; links, the...

View Article
Browsing all 42 articles
Browse latest View live




Latest Images