drupal planet

Exported View: Show OG Content, with filters

For a few of my community-based sites, I wanted to give Organic Groups group members the ability to easily see all the content in their group, regardless of published status, content type, etc., in a list form. Kind of like the universal site Content List, except for each group, and only visible by that group's members.

I've created the view I attached below to do just that—and it has an added bonus of letting users filter their content by published status, content type, or by searching in the title. After importing the view into your own Organic Groups-enabled site, you should be able to modify the view to show links and information custom-tailored to the content on your site.

Example Screenshot:

Group Content List View

Just Created: New Drupal Module "Gallery Archive"

Gallery Archive Project Page on drupal.org

I just created my second open source software project (for Drupal), Gallery Archive. This is the first Drupal module I've created, and I'm excited to be able to dive into many more APIs I've not yet interacted with. Drupal has been a great adventure in my life, and I'm finally getting good enough with 'drupal-fu' (like kung-fu, but in Drupal-speak) that I can come up with solutions to my own problems :)

Allowing anonymous IP-based access to content with Boost, subscription model

On the St. Louis Review website (case study here), which offers much of its content based on a subscription model (you must be a subscriber to access the 'premium' content), we wanted to allow those inside our network access to nodes that were marked 'subscribers-only', without having to log in to the website and maintain a user account. Here's how we did it:

1 - Modification of Custom Subscriber Access Code

Our site uses hook_nodeapi() to limit access to 'premium' or 'subscribers-only' content. We simply added in a check to see if users were coming from a certain IP address (the IP address for our corporate network):

Druplicon Golf Ball (DrupliGolf)

After having seen DrupliBacon and DrupliCake (there are other great adaptations of the Druplicon as well!), I decided I wanted to get some creative juices flowing this weekend. I present, DrupliGolf!

DrupliGolf - Druplicon on a Golf Ball

Drupligolf is the result of a round of golf, an addiction to Drupal, and a love for the best OSS mascot in existence. (The latter reason will definitely strike a chord with anybody who's shared a drink with the Druplicon in #drupal... and actually drank).

Post Photos/Images to Your Drupal Site from the iPad

Now that I have effectively replaced my laptop with an iPad, I need an easy/quick way to post a photo or two from my iPad to my blog. I use Photogene as a simple Photoshop replacement on the iPad (it actually works pretty well, for being limited to 256 MB of RAM and a 1024x768 display).

I originally tried using an FTP program to transfer the file to my website, into a drop box folder I created, but FTPWrite, one of the very few FTP apps for the iPad, doesn't support uploading from my photo library. Not wanting to pay for any more weak FTP editors until Coda or something equivalent is released for the iPad, I decided to go about this task in a rather unorthodox way. Here's how I post photos to my Drupal site from my iPad:

Prerequisites

On your iPad:

Pages

Subscribe to RSS - drupal planet