Drupal

Sep 28 03:31

Help Translate Drupal to Kannada

http://localize.drupal.org/translate/languages/kn

Help Kannadize Drupal and Drupalize Kannada! Please join the Kannada localization group on localize.drupal.org and contribute translations online.

If you are the casual contributor who doesn't like messing around with translation editors, You need none of that. All you need is an account on Drupal.org. Or incase you prefer to / have translations locally/elsewhere, Please import your .pos in one shot.

Sep 28 01:34

Why Drush rocks and why dreamhost sucks.

I usually find three major uses of Dreamhost: Firstly (and importantly), as a backup dump, Secondly for SVN (Oops, not any more since I switched to github for good), Thirdly as cheap and slow hosting for mostly personal / hobby-network / friends sites. Contrary to people's complaints about Dreamhost, I find them extremely value providing (for shared hosting) for the money you pay them.

Now Drupal, as resource hungry as it is, is a pain on Dreamhost servers. I've had repeated painful experiences of the {menu_router} table getting half-rebuilt (or lesser) when I visit admin/build/modules before Dreamhost terminates the script for memory overconsumption, resulting in broken pages (and the annoyance of manually regenerating the table externally)

Apr 12 22:16

Useful Drupal Upgrade Snippet

Long time no post. Been really caught up: Tons of work, travel, Acads. Anyway, I happened to be upgrading some old Drupal sites from 5.x -> 6.x. Here's a little SQL snippet to disable all non-core modules first.

UPDATE `system` SET `status` = 0
WHERE `name` != 'system' AND `name` !='block' AND `name` !='node' AND `name` !='user' AND `name` !='watchdog' AND `name` !='filter' AND `name` !='upload' AND `name` !='tracker' AND `name` !='throttle' AND `name` !='taxonomy' AND `name` !='statistics' AND `name` !='search' AND `name` !='profile' AND `name` !='poll' AND `name` !='ping' AND `name` !='path' AND `name` !='menu'

Dec 11 21:19

Prepopulate Views Filters with args

Assuming that the argument is a node ID, being sent (say from a panel, under most circumstances)

// grab nid from referring node
$args[0]=arg(1);
if(is_numeric(arg(1))){
$nid = arg(1); //node id
$term = taxonomy_node_get_terms_by_vocabulary($nid, 3); // 3 is the vid. Use your own Vocabualary ID!
$tids=key($term);
return $tids;
}

$args[1]=$tids;

Feb 21 10:28

Useless, but...

Somebody wanted this.
function ripper($url) { $page = appr_curl_function($url); if ($page === false) { die("Something wack happened"); } preg_match('/watch_fullscreen\?video_id=(.*?)&l=(.*?)+&t=(.*?)&/', $page, $match); $match1 = "http://www.youtube.com/get_video?video_id="; if(!$match[1]){
Feb 14 10:15

Drupal 6 Released!

http://drupal.org/drupal-6.0
Finally! I should be ready to upgrade most of my sites right away. First pleasing news of the day!
Jan 25 07:21

Port of baseline.

One More Drupal Theme. This one is baseline from freecsstemplates Quick n' Dirty, for some arbitrary dude. Licensed under GPL. (C) 2007 to nobody. No Rights Reserved (atleast for the port). Go here to Download - http://www.bas.org.in/files/baseline.zip Refer to this post for the port of Industrial I've got a few more. Will post 'em as I find 'em.
Jan 25 07:02

Drupal and Democracy

http://drupal.org/node/202638
Valid Reason so far as I can fathom. Unfortunate that Dub only had to get repeatedly dismissed and flamed at. Dries is a great man, but really.. the proposition of open-source communities being under the fatherhood of benevolent dictators, especially ones with new startups and in the hands of legalities and venture capitalists..isn't particularly an ideal proposition. I'm all for democratization, personally. Looks like it's not to be, however.
Jan 25 06:50

Drupal.Se

Pretty lame, this.
http://www.hiveminds.co.uk/forum/node/3654
I knew of a certain Mr Pillai who supposedly made a lot of money out of cybersquatting (most notably on sydney2000.com, I think). Very very lame though. I don 't think this dude's going to get away with the hijacking. His track-record isn't too great with the rest of the Drupal junta either. He's been consistently writing half-baked, fallacious and lame stuff against Drupal for a while now as in here.
Dec 14 15:44

Informative.

http://www.garfieldtech.com/blog/mvc-vs-pac
Convincing. Although I still beg to differ.