Submitted by chris on Thu, 06/16/2011 - 11:28
Redfin is pleased to announce the 1.0 release of the uc_cashnet module, a payment processor for Drupal's Ubercart 6.x that integrates with their external payment service, similar to 2Checkout.
Any feedback is welcome at this point, and we'd welcome the opportunity to further develop this module and create a similar module for Drupal Commerce / 7.x.
Enjoy!
http://drupal.org/project/uc_cashnet
Submitted by chris on Mon, 02/14/2011 - 11:58
Redfin Solutions was recently quoted in an IT World article: "Joomla vs. Drupal: An open source CMS shootout," by Daniel P. Dern of Newton Center, MA.
The article is a shootout primarily between Joomla and Drupal. In sum, the article comes to the conclusion (granted this is our particular takeaway from the article) that Joomla is a great "starter CMS" and is geared more for designers and those who need to get a simple site up quickly.
Submitted by chris on Thu, 01/27/2011 - 16:37
People using the fantastic Flashvideo module, which uses FFMPEG to transcode your videos to flash for you, get only one shot to make a thumbnail image when the upload is processing.
The problem is, you rarely get a thumbnail size that applies globally. What you'd rather do is make a thumbnail image that's the largest size you want, and then use imagecache to put the thumbnails at different sizes around your site.
Submitted by chris on Thu, 12/23/2010 - 11:36
Redfin Solutions has submitted two sessions for the Chicago 2011 DrupalCon. If you have any suggestions for the session proposals, please leave them us a comment!
Importing Data Into Drupal
Submitted by chris on Thu, 12/09/2010 - 23:11
Today I was trying to figure out why in the name of all that good in the world why I couldn't use $_SESSION in my form's _submit handler.
As it turns out, I actually CAN put stuff into $_SESSION, it's just that when you want to pull something OUT of $_SESSION later, that's not where it is.
Instead, it's on the $user object in Drupal, in $user->session. After some studying, it seems this is a pipe-delimited and semi-colon delimited list of variable names and their serialized values.
Here's a function to pull stuff off of $user->session:
<?php
/**
Submitted by chris on Mon, 12/06/2010 - 18:44
First of all, let me tell you how much I love and appreciate the Views_Customfield module, which lets you (among other things), write PHP to print out a field using views. When I need to, I can do some complex conditional-writing based on two other views fields, or I can do things like calculate a thumbnail for a photo gallery based on grabbing some fields using a raw db_query that aren't available through views, and other such craziness (note: be wary of doing this it can kill your site performance!).
Submitted by chris on Sun, 11/14/2010 - 10:43
I was struggling to use drupal_execute in a custom services call I was writing. After some time rifling through form.inc I was able to conclude that function_exists('my_submit_handler') was returning false.
But... but... my module is loading, I promise!
Doesn't matter, the .inc files aren't necessarily pulled in until they're told. Before you call that drupal_execute, make sure to include the .inc file where that submit handler resides (if there is such a thing). I was trying to automatically create a mailhandler mailbox using a services call, so I had to:
Submitted by chris on Wed, 10/06/2010 - 10:23
I've been looking on Craig's List for a car as of late, and realize that when I want to go talk to people I have to click on a mailto: link. By default, this opens in on Ubuntu using Evolution. With the "System > Preferences > Preferred Applications," though, you can change that. It can either be a custom shell script, or just a command or link.
Since my default browser is already set to Chrome, all I need to do is "gnome-open" gmail's "compose" URL. My full command is:
gnome-open https://mail.google.com/mail/?extsrc=mailto&url=%u
Submitted by chris on Tue, 10/05/2010 - 19:48
A week or two ago, we upgraded our support site to the latest OpenAtrium beta8, up from beta4. We make use of the mailcomment plugin so our clients (and of course ourselves) can easily reply to notification emails. As long as we're not changing any of the other fields of the case (priority, assignee, etc), it's very convenient, and matches a lot of the greatness that BaseCamp provides.
Submitted by chris on Sun, 10/03/2010 - 16:12
CiviCRM can often have some pretty wide pages, either because it's a multi-step wizard, or a large table of contacts, etc. For this reason, you might use one of the classes on your body tag to style CiviCRM pages differently... something like:
.page-civicrm #wrapper { width: 100% }
The problem, however, is that sometimes you can have some CiviCRM pages which are "front-facing," and you want THOSE CiviCRM pages to look consistent with the rest of your site. Unfortunately, you don't have a body class for that! Enter the template preprocessor for page.
Submitted by chris on Sat, 10/02/2010 - 15:35
The relatively new "Feeds" module, successor to Feed API and others, is unquestionably a move in the right direction. But sometimes, the documentation and examples aren't quite there yet. I had been trying to figure out how to map an additional "source" node in an Atom feed to a CCK field. There's a lot of terminology involved with feeds, and I will assume you know what that is (if not, brush up on the Feeds Glossary).
Submitted by chris on Tue, 08/03/2010 - 12:01
We here at Redfin Solutions are proud to be Platinum sponsors of the inaugural DrupalCamp Boone. Western North Carolina's Blue Ridge Mountains are a thing of beauty, and we're excited to get down there and breathe in the fresh air. What better place for a giant blue drop than a Blue Ridge?
We also want to call attention to the other great sponsors obtained. For anyone new to Drupal, it's the community that makes Drupal such a powerful force in this world, and it wouldn't be possible without you.
Registration is open, so get on over to http://drupalcampboone.com and get involved!
Submitted by chris on Sat, 05/15/2010 - 23:48
It's been a crazy Saturday here at Redfin Solutions, what with getting a new server and immediately having at least one client to launch on it!
Redfin is happy to announce the redesign of Chapman Construction's new site at http://Chap-Con.com. The people at Chapman have been really great to work with. The design is by Jon Sachs, who we always enjoy working with. Living in the mountains of North Carolina, I'm happy to say Chapman has a very green focus, which brings out both the geek *AND* the hippie in me.
Submitted by chris on Thu, 05/13/2010 - 10:50
The Rave
Yesterday was the birthday of a shell script that Gina Trapani uses to (her words) "run her life." I am a huge Lifehacker fan, and when Gina started Smarterware I subscribed to its RSS as well. Though a lot of posts overlap, some do not - and it's good to keep up with what else Gina is doing. She's a very smart woman.
Submitted by chris on Wed, 05/05/2010 - 17:05
Last night I hastily decided to upgrade to Lucid Lynx on my main development machine. Generally, I try and wait a few months till things settle, but nearly 100% of the time that doesn't work. After a short battle with my wireless and some other small things, I finally settled back into "work mode" and wanted to get started working on a project I'm working on for Appalachian State University.
Submitted by chris on Thu, 03/25/2010 - 10:05
I spent a few hours wading through something yesterday that I hope will save some other people some headaches.
I had the notifications module on, and it was sending notifications for node creations and updates just fine, but it seemingly wasn't sending anything when I commented on a node. It would TELL ME it did ("notification sent to x other users") but I would never get an email.
Submitted by chris on Wed, 02/24/2010 - 12:02
For hours I've been banging my head against a wall trying to figure out why Drupal's date_make_date "wasn't working." I was always getting back an empty PHP DateTime object. I traced it back down to PHP's date_create. I suspected that there was no reflection capabilities, but searching against date_create really didn't yield me much.
Eventually I decided "let's just search up a level (date_make_date empty object)" and in seconds I came across this thread: http://drupal.org/node/514560. This is just proof to me that the Drupal community is super awesome.
Submitted by chris on Sat, 01/30/2010 - 12:00
Wow, it seems that Drupal's Webform module has come a long way since I last used it (which I believe was Drupal 5.x). It's so convenient and really latches onto the new template hints and stuff from Drupal 6 (here I am talking about it while Webchick announced yesterday the D7 criticals queue is under 200, w00t!).
Submitted by chris on Fri, 12/25/2009 - 13:30
Patrick is I'm sure somewhere while all of his and Elyse's extended family brood over Madeline, their latest addition. My family was awestruck by my nephew's second Christmas. We're off to do some of that typical holiday traveling, but want to with the Drupal community and all of our clientele a happy and joyous holiday season, spent with their families or friends.
Submitted by chris on Wed, 10/28/2009 - 13:42
I basically grew up at summer camp, and it has without a doubt made me who I am today (just refer to the ACA's new marketing campaign "because of camp," there's a lot of things you could fill in about me!). Redfin did some pro-bono work to develop the web site at http://savebement.org, making heavy use of CiviCRM - the open source constituent relationship management software originally developed to fill the need of grassroots movements like this one.
Submitted by chris on Wed, 10/28/2009 - 08:11
Thanks to a design provided by Jon Sachs, Redfin was able to recently launch www.livesinthebalance.org, a site aimed at providing resources and help to children and parents who struggle with their relationships, sometimes to the point of Oppositional Defiant Disorder. Collaborative Problem Solving is an approach to these unique situations, pioneered by Dr. Ross Greene.
Submitted by chris on Fri, 09/25/2009 - 12:21
Redfin had the pleasure of Co-Presenting with John Paul McNeal about the utility of Drupal in the camp website world. In addition to its features as a content management system, giving the camps the power to manage their own content, Drupal also has great support for integrating with the latest social media applications, such as Twitter and Facebook, via Ping.FM and directly.
Below are the slides from that presentation.
http://docs.google.com/present/view?id=dfnh54xz_89fb7kt5r9
Submitted by chris on Fri, 09/25/2009 - 12:12
There seems to be much debate regarding when to use node_save versus drupal_execute. Personally, I like the idea of drupal_execute, since it's just like the regular form executing--it handles validation for you, for example. This is an example of where I had to use node_save, but still needed validation.
Submitted by chris on Sat, 09/19/2009 - 15:56
Today (Sept 19, 2009) I had the great honor of being able to present to DrupalCamp Atlanta on something that I think is a major (mostly mental) hurdle in beginning to develop for Drupal. There are a lot of developers out there, people who are familiar with PHP or other programming languages, who clearly know how to program, but don't know the right way to program for Drupal.
Submitted by chris on Tue, 05/19/2009 - 11:17
I can't speak highly enough of Earl Miles, aka merlinofchaos. Despite the puppet act at DrupalCon, which I'm willing to forgive, ;) this guy is awesome. I have been using views for a long time, and Views in Drupal 4.7 and 5 was just awesome. Then Views2 came out, and while the learning curve was a little steep, it continues to blow my mind.
Submitted by chris on Tue, 04/07/2009 - 23:12
Here's a handy BASH script I wrote to pull down one copy of a database to a local version using an SSH tunnel. It's not super-secure, so it kind of assume that you have the script hosted on a local machine, securely (the DB password is in the script!).
First, go put a host named "tunnel" in your hosts file (usually /etc/hosts on *nix-type environments), that points to localhost 127.0.0.1 (mysql can get cranky when you try to connect to "localhost" - it always tries to use a local socket when you say that, so this is a bit of a workaround to make it work through the tunnel.
Submitted by chris on Tue, 03/24/2009 - 21:42
Redfin Solutions is proud to announce the availability of a -dev branch of code for integrating with the DOTGO SMS service.
Submitted by chris on Mon, 03/09/2009 - 01:07
One thing I got to hear about at DrupalCon during the Q&A at Sacha Chua's Totally Rocking Your Development Environment was someone who popped up quick and mentioned the utility of VirtualDocumentRoot, a directive for Apache which lets you automatically go find the folder to server the site out of based on the incoming host header.
|