Announcing the CashNET module for Ubercart 6.xSubmitted by chris on Thu, 06/16/2011 - 11:28Redfin 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! Redfin Solutions in IT World Magazine: The CMS ShootoutSubmitted by chris on Mon, 02/14/2011 - 11:58Redfin 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. Stashing stuff in $_SESSION in your form's _submit handler in DrupalSubmitted by chris on Thu, 12/09/2010 - 23:11Today 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: Views "rewrite output" and you wish you had PHP? Don't always resort to customfield!Submitted by chris on Mon, 12/06/2010 - 18:44First 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!). Show / Hide Fields In A Views-Generated Drupal RSS FeedSubmitted by patrick on Tue, 10/26/2010 - 00:52If you want to modify the fields included in a RSS feed generated by the Views 2 module, you have a few options including themeing the view, but the easiest way to simply show or hide certain fields and/or their labels is to simply go to the "RSS" tab when editing a content type's "Display Fields" settings. That's it. Below, I set a couple fields to not be included in my RSS feed since I didn't want, for example, the image name from showing up in the feed. Format Drupal Calendar Module Mini Calendar Title View/BlockSubmitted by patrick on Tue, 10/12/2010 - 14:59Theming the Date and Calendar modules can sometimes be a little tricky. I wanted to change the title display for a "mini" calendar in a block from "Month" to "Month YYYY" (e.g., "October 2010"). In order to do this you need to first learn how to override a theme function. Now that you're up to par on theme overrides, we can override this theme function: /modules/date/theme/theme.inc: theme_date_nav_title. You'll have something that looks like this in Drupal 6.x. |