UrbanDictionary.com has a 10 year attachment to their logo and they have been around for a long time. But, this dog has a new trick, or at least a new meme. It seems that one of the latest memes, one started on facebook is searching for your name on UrbanDictionary.com.
So what/s the big deal?
One thing great about consulting is that you frequently get to work with different technologies and, as with many other things, you pick up great nuggets along the way.
Often I forget these nuggets. Enter this blog post.
I came across a couple of great articles that reminded me of something about portlets. In general if you're starting to work with Portlet and Springframework I'd recommend reading both of these articles for a quick and dirty. The examples couldn't be simpler and the sample code is good so download it!
Enjoy,
Well, I learned yesterday that you can do translation in drupal with the locale module but the posts don't show up correctly unless you have the internationalization module.
Without the internationalization module every blog entry I made was posted once for each language in which it was translated. When I enabled the content translation in the internationalization module everything was kosher.
One thing I wanted that I didn't see was for the language to be automatically detected when the someone used the url es.savanthongvanh.com. I'm still working on that.
In the first step in the SEO process I've enabled clean URLs in Drupal. All I had to do was change my .htaccess file by uncommenting the line:
RewriteBase /
One step down, a dozen or so to go...
First steps to ramping up on Drupal.
1. Set up a site.
2. Add all relevant blogs to Bloglines
3. Listen to back podcasts & blog entries from Lullabot and Dries
4. Start contributing to a module
I'm trying to decide now which module to contribute to. I think it's going to be an easy one, possibly fixing the compatibility issue w/ the Blogroll module.
It should be a fun adventure!
Here's a quick snippet for detecting the major mobile cilents:
<?php
$isIphone=strpos($_SERVER['HTTP_USER_AGENT'],'iPhone');
$isRIM=strpos($_SERVER['HTTP_USER_AGENT'],'BlackBerry');
$isCE=strpos($_SERVER['HTTP_USER_AGENT'],'Windows CE');
$isNotIphone=(false==$isIphone);
$isNotRIM=(false==$isRIM);
$isNotCE=(false==$isCE);
$isFullBrowser = ($isNotIphone && $isNotRIM && $isNotCE);
?>
So today I stood up another Drupal site. It's been a while since I'd done so. Everything was still pretty straight forward but I do want to note one thing.
I ignorantly disabled the login block. Ignorantly, not unknowingly or unwittingly, intentionally disabled it because I'm the only on that's going to be updating the site. The idea was to discourage people to attempt to sign up for a Drupal account. Great idea, I'll just disable the login block. Done!