tech

Switching OG (drupal organic groups) view depending on node type

Sometimes you need to use a different drupal view when you're displaying different group types with Drupal's organic groups (OG) module, for example you might have a group thats mostly about files, and a group that's mostly about posting other items or something.

OG doesn't let you have different configurations for each node type (yet) so you can do this with a little hack, simply hit up the global $conf variable and replace it with what you need, and ensure this executes before OG does.

How the hell does anyone make money from a busy site?

So a certain website of mine has been going strong for a couple of years now, attracting roughly 125,000 impressions a month, 6000 unique viewers, month after month and growing.

Pretty print those complex services json replies..

not rocket-science, but something handy for debugging/developing web apps, use this to pretty print and validate the JSON responses

Machine learned topic mapping, RDF? Topic Maps?

Any ideas how i'de write some engine to figure out relationships between topics on teh intarwebs?

suggestions high or low level etc? This is an application of Ontology right?

ie, learn that drupal is related to php, civicrm is related to drupal (civicrm is a sideproject using drupal)

could do straight keyword analyses but im not sure thats the way

or is this the same 'holy grail' that search engines are trying todo? ie figure out that a dog is an animal, and the dog subject is related to animal?

The Onion move to Django from Drupal

The Onion (running drupal 4.7 which may be the reason ;) are moving away from Drupal, as discovered here
http://www.contenthere.net/2010/03/the-onions-migration-from-drupal-to-d... and here http://www.reddit.com/r/django/comments/bhvhz/the_onion_uses_django_and_...


We wanted to post earlier why we like/use Django, but, we get pretty busy around here, so a bit late. Sorry if this is duping any existing threads.
Why

En route to drupalcon SF!

I'm currently flying from JFK airport to SF to attend DrupalCon2010! I've enrolled for the Cracking Drupal security 1 day session, and will definately be attending as much as i can with the rest of the conference! Looking forward to meeting up with a few local melbourne php/drupal guy's as well as catch on with what's happening with Drupal 7 because unfortunately I havent had any time recently to catch up with it (my most popular site is still drupal 5! but it works!)

oh and American Airlines WiFi is awesome :D

New client site - Austrout.com guided flyfishing tours

Launched a new web site for Austrout very slick design based on th acquia drupal theme, with heavy overlayed PNG support and jQuery slideshow, a good clean simple site with a great "outdoor" adventure theme, as well as a custom business logo design.

I know where i'll be going for guided fly fishing tours in the victorian high country! :)

GTK Recently Used updated with inotify!

Heres a cute hack, an easy way to make any file you open/change from the command line appear in your GTK file widget's "Recently Used" list, it uses python's pyinotify package available in apt, and pythons python-gtk2 package.

Something that's very handy, for example when you are editing something on the command line and attaching to an email and need to browse to the location, or when you've wget'ed a file and need to open it from a gnome application, the list goes on!

Prototype JS selectors versus jQuery

In Prototype JS you get given an element, but in jQuery you get given a list of elements, which makes things confusing when selecting a class of elements in Prototype JS or jQuery

Fivestar voting.. Do you even need it? Or is it just a cool idea

I came across this article about youtube ditching its fivestar rating basically because users treat it as a binary thing, either they love it (5 stars) or hate it (0 stars) or simply dont bother voting, there are some edge cases where users DO bother voting however.

more here... http://youtube-global.blogspot.com/2009/09/five-stars-dominate-ratings.h...

Syndicate content