Drupal
Don't get burned by PayPal disputes and digital goods (especially with Drupal + Ubercart)
Submitted by David on July 16, 2011 - 9:09pmRecently, a user filed a dispute against one of my digital subscription-based websites. Having never dealt with a PayPal dispute before, I went in not knowing what to expect. I examined the user's account in Ubercart and they had definitely paid via PayPal and the IPN information was sent back to the site that the order had been successful. The user had also received the digital subscriber role. PayPal contacted me noting the user had filed a dispute against me that they did not receive the product. However, I could see that they very clearly had.
Panels and Drupal 6: Showing a panel item for a user if they have all required roles
Submitted by David on June 23, 2011 - 9:05amDrupal vs. Joomla at ITWorld
Submitted by David on February 14, 2011 - 11:15amITWorld has a new article up about Joomla vs. Drupal and contains viewpoints of different developers. I was asked by the author to give some insight on using either CMS so I'm in there around page two. It's an interesting article because it's not from the perspective of one person and seems to cover many bases.
Remove the Media6degrees tracking link from the AddToAny Drupal Module
Submitted by David on January 25, 2011 - 11:04amI noticed this happening while I was getting a site ready with the AddToAny Drupal module. Pages would randomly hang in my dev environment and it was trying to contact Media6degrees. After some Googling I found this was a third party tracking cookie being installed with the AddToAny module. To disable it in Drupal 7, go to the modules page and click "Configure" next to AddToAny. Under additional options near the bottom, paste this:
Quickly upgrade Drupal core: only different files
Submitted by David on December 16, 2010 - 10:13amHere's a handy commandline snippet that will help you upgrade Drupal core (for example, 6.19 to 6.20) without having to replace everything. It will only update the files that have changed.
Drupal Web Services Overview
Submitted by David on November 30, 2010 - 11:40amEchodittolabs has a great and easy to understand write up about Drupal and web services. If you ever need to interact with Drupal with an external application it looks like this is the best way to do it.
Redirect webform submissions to a dynamic URL in Drupal 6
Submitted by David on November 11, 2010 - 3:05pmIf you need a way to redirect webform submissions to a dynamic URL in Drupal 6, using the Webform PHP module can work well with Webform 3.x. I recommend only using post processing conditionals on select fields if possible with Webform PHP since you need to enable the permission to "use PHP for additional processing" for users who submit webforms (typically anonymous).
Here's the process:
JQuery Dropdown Menu Styling in Drupal
Submitted by David on October 8, 2010 - 10:14amDrupalSN posted a nice guide to styling exposed View dropdown menus with a JQuery plugin and some stylish CSS. The guide there worked perfectly except for the step where he hid the submit button. I changed this:
.views-exposed-form label, .jquery_dropdown_page .views-exposed-form .form-submit { display: none; }
to this:
Using a nid argument in a block view in Drupal 6
Submitted by David on September 27, 2010 - 4:30pmI had a bit of an issue with this since I'm used to using arguments on view pages. To use node id as an argument with a block view you cannot simple use the "Hide view / Page not found (404)" under "Action to take if argument is not present". Instead, do the following:
Monthly archive
- September 2010 (6)
- October 2010 (7)
- November 2010 (8)
- December 2010 (2)
- January 2011 (2)
- February 2011 (2)
- March 2011 (2)
- April 2011 (1)
- May 2011 (3)
- June 2011 (3)
- July 2011 (3)
- August 2011 (4)
- October 2011 (1)
- November 2011 (2)
- December 2011 (2)
- January 2012 (3)
- February 2012 (1)
- March 2012 (1)
- April 2012 (2)
- May 2012 (1)