Vote for drupal
Theres election for the parliament in about 2 weeks: Vote for Drupal!
Its rather funny (or pathetic) to see how the parties from left to right is trying to get on the web2.0 thingie - But one candidate have gone all the way, and used the Drupal Song for his non-existing campaign!
oooh yeah baby
Pollas 2.0
Vote pollas song A DrupalSong rip off ;)

And even with a video...Taken live from my office :)
And off course pollas 2.0 has the Facebook group - and no goddamn myspace page!
- some might say that this is created as a cruel joke at those in the political scene who is trying to collect in on this web2.0(beta) stuff *cough* Ny Allian...*cough* ?
Enhedslisten.dk
Enhedslisten (x-communist party in denmark) is using Drupal.
Actually i was working upgrading the hole site (from a core patched *argh* drupal 4.7.something installation) and were at the last bits of the transformation when the election came
...So now its running 2 different drupal installations ... boy is that gonna be fun to patch together in 14 days when the election is over?
...stuff i have learned this last coupple of days
Running 2 different sites on 1 domain with redirect on stuff is actually rather easy (thanx path_redirect module)
It happens every goddamn time - suddenly everything crashes around you - the client is in panik want to go online asap, and with a bunch of new features, well i actually think that cck & views were biuld for these situations.
bugs under my bed
image_cache leaves small nasty trails of empty images...
Patching the image_cache modul (http://drupal.org/node/152681)
#000000">#0000BB"><?php
#007700">if (!isset(#0000BB">$item#007700">[#DD0000">'filepath'#007700">])) {
#0000BB">$file #007700">= #0000BB">_imagecache_file_load#007700">(#0000BB">$item#007700">[#DD0000">'fid'#007700">]);
if (!#0000BB">count#007700">(#0000BB">$file#007700">)) {
return #DD0000">''#007700">;
}
#0000BB">$item #007700">= #0000BB">array_merge#007700">(#0000BB">$item#007700">, #0000BB">$file#007700">);
}
#0000BB">?>nodeasblock gets funky with menu_trail -http://drupal.org/node/185499
Contemplate kicks soooo much ass i wanna cry
Ive tried to avoid this module for a long long time, but for ultimate geek control in the node.tpl this is the modatrucka - offcourse you loose some of the control of "hey just add another field to the cck and is gonna end op on the site", but its a small price compared to "Why the Frak! dosnt drupal it put $foo in the right bar ... aaaargh !!"
übermucho more fun with regions in nodes
Ohh and another little thing i found over at the lullebot site (eaton you are a hero!) adding regions inside the node - damn that have been a lifesaver the last couple of weeks.
So just if i ever ever ever forgets it - heres the snip (and now no more absurd css trix margin: -666px 0 0 0)
add a region
#000000">#0000BB"><?php
#007700">function #0000BB">foo_regions#007700">() {
return array(
#DD0000">'foo_region' #007700">=> #0000BB">t#007700">(#DD0000">'foo region'#007700">),
#DD0000">'bar_region => t('#0000BB">bar region#007700">),
);
}
#0000BB">?>in the _phptemplate_variables() put this little baby:
#000000">#0000BB"><?php
#FF8000">//BLOGS -> NODE
// the region:
#007700">if (#0000BB">$vars#007700">[#DD0000">'page'#007700">] == #0000BB">TRUE#007700">) {
#0000BB">$vars#007700">[#DD0000">'foo_region'#007700">] = #0000BB">theme#007700">(#DD0000">'blocks'#007700">, #DD0000">'foo_region'#007700">);
#0000BB">$vars#007700">[#DD0000">'bar_region'#007700">] = #0000BB">theme#007700">(#DD0000">'blocks'#007700">, #DD0000">'bar_region'#007700">);
}
#0000BB">?>And now by sweet magick $foo_region & $bar_region is available for the node.tpl.php
and we are at it with the theming tricks:
Kick the $styles and add the needed one by hand -thats the only way to avoid the "where did that 1.5em padding came from"
Web activism
Well its kinda interesting to see how the political parties suddenly are taking the social web media seriously, well at least for the next 2 weeks ;)
The big thing this election is actually where my own vote is ending -> SF Hell yeah is kicking ass this time.
Based on a lot of hard work from some of the political bloggers, who sat down and understood this media - and offcourse a bunch of €/$/Kr.
...yeah im one of 'em red bastards.

Not as red as me though.
Not as red as me though. Muahahha!!
My vote'll go to Ø. Thank you for working their(/our) site. ;)
Idiot
Idiot
love to ya dinesen ;)
love to ya dinesen ;)
Great
Ohh and another little thing i found over at the lullebot site (eaton you are a hero!) adding regions inside the node - damn that have been a lifesaver the last couple of weeks.