Drupal Sandbox Project: CAS Username Link

I've just finished working on a new Drupal Sandbox Project: CAS Username Link This project came about while working on a Single Sign On (SSO) solution. The product I was checking out was CAS. Low and behold, CAS has a Drupal module, aptly named: CAS. After fiddling around with module and having it not working for a while, I finally realized that each existing Drupal account needed to have a CAS username linked to it. This could be done manually on the user configuration screen, or by running a bulk update on the database to populate the cas_user table. This wasn't going to work for me since...


Android: Always have your contacts synced

After this post on Reddit where someone lost all their contacts, it inspired me to remind everyone to set up some sort of contact sync. I personally just use my Google Account to sync my contacts. Basically all you have to do is add your Google Account to your phone. Set it up to sync, and then when you add contacts, choose your Google account instead of the other options like "Phone contact" or "SIM contact" Now if you ever lose your phone, or it becomes unusable for any reason, at least you will always have your contacts safe and you don't have to make the obligatory "Send me all your...


Android: Where is the clear all button for my running apps?

On my Android phone running ICS 4.0.4 if you hold the home button, a list of running apps shows up. Here you can return to the apps by tapping them, or close them by swiping them away. Sounds pretty good, but what if I want to close all of them, which I often do since my phone is getting older and slower on a daily basis. Please can we have a "kill all" or "clear all" button added to this screen. I can't be bothered to swipe away 25 open apps, I'm much to important for that. Edit: So it appears as if this list is less of "running apps" but more a "activity list" I was misinformed by this...


Is there a good way to create redirects when launching a new site?

I am quickly finding that there is no good way to do this, but this is what I've done. I started with the Google Analytics from my old site and sorted the content by page views.  This gives me my most important information or at least the content that might get the most 404s.  After doing the top 100 (some which I caught through wild cards like this) RedirectMatch permanent (?i)^/example/content(.*)    http://cvanderlinden.com/example/content The biggest thing I have learned is that it doesn't need to be the exact right place, and all I'm trying to do is avoid 404s. Next after that I...


Drupal 7: Installing and Configuring Date iCal to work with Events

First let's start by downloading and installing the module: Date iCal I did this using drush, but you can do it anyway to please. Now, with the version I was using (7.x-1.1) the timezone handling wasn't working properly so I applied this patch to correct timezone handling. Hopefully that get's permanently fixed in the module soon, and you won't have to apply the patch anymore. Next, we need to configure the content type that we want to use the iCal settings. I all ready have a content type setup with a date field, called "Events".  If you don't have one, then you're going to have to create...


Drupal: Making Media: YouTube more user friendly

I have a client that needs their editors to be able to quickly embed YouTube videos into posts.  Usually one can just do this by copying and pasting embed codes into the source. However in this case, the client required that the user not touch the source code.  Enter Media: YouTube, in conjunction with the Media module this allows the user to paste a YouTube link into the plugin and have the embed code be generated for the user.  Perfect! However, I find that it's usability is a little off and needed to be retouched for my purposes.  My two problems: The icon needs to be changed to a...


New computer means time for Ninite.com

Just got a new laptop today for work and my first stop is always Ninite.com. It's a quick tool that lets you install a bunch of popular software all within one installer.  It's extremely efficient, accepts all the liscese terms, chooses directories, skips ads and toolbars, and gets you on your way.  They keep everything updated so when you go there you get the most recent software.  Here is a list of what is one their site as of today. This list won't be updated as new versions of software/ninite are released. Web Browsers Chrome - Fast Browser by Google 17.0.963.79 Safari - Alternative...


Share: 26 Free Retro Fonts

There are some great free fonts in this post, check it out if you are interested - www.demilked.com/free-retro-fonts/


Apple iPad 3 (iPad HD) Available March 16th

New and Old Features: Apple Quad-Core A5X processor + graphics Higher Resolution Retina Display 2048 x 1536 for a total 3.1 million pixels 1080p video recording with video stabilization Voice Dictation in six languages - English, British, Australian French, German, Japanese 4G LTE by AT&T, Verizon, Bell, Rogers, and Telus (Other providers outside North America) 3G HSPA+ fallback 10 hours of battery life 1.4 pounds 9.4 mm thin Prices: Wifi Enabled 16 GB - $499 USD ($519 CAD) 32 GB - $599 USD ($619 CAD) 64 GB - $699 USD ($719 CAD) 4G/Wifi Enabled 16 GB - $629 USD ($649 CAD) 32 GB - $729...


Drupal 7: WYSIWYG YouTube Embed Tutorial (Media_YouTube)

Why would you need a YouTube plugin for Drupal? Can't you just use the embed code? Yes, yes you can. However, you may run into a client where copying and pasting the embed code becomes too technical.  So lets forget about why we need this and I'll explain how to get it set up. Foreword After switching over to Drupal 7, I decided to use the WYSIWYG module to implement text editors instead of custom built modules for text editors.  This now allows us to keep up to date with the latest release of editors like CKEditor, TinyMCE, etc.  Since you just drop them into the libraries folder and they...