Dynamic Block

amariotti's picture

I'm hoping to get some help from the group on this. My last request was a little off the Drupal Subject, this one should do a little better.

I'm developing a site for an Applied Technology College that have a Jobs section where jobs will be posted and associated with each program. I'd then like each program to display a block with all of the jobs pertaining to that program. Any ideas? I thought this would be something very straight-forward, but it's not as easy as I thought.

I have been using views and even grabbed a module that was supposed to filter all content in a block that had taxonomy terms matching the node. Any other ideas? I'm a beginner when it comes to Views Arguments...which is probably the way I need to go.

Thanks, guys!

Groups:
Login to post comments

Give Views a Shot

kmillecam-gdo's picture
kmillecam-gdo - Fri, 2008-05-02 20:55

Hey Andrew,

You might want to see if Views can work some magic for you.

I have a client who uses Organic Groups to divide their site into several "product-specific" sites. They didn't like the fact that the comments block on the HP page showed Dell comments. I told them it was impossible to filter comments by group ... but I was wrong.

The og_comments_recent view is "context sensitive" and only shows comments related to the group you're currently viewing. Now, if you're on my HP page, you only see HP comments.

I think the og_comments_recent code comes in the Views package (or maybe the with Organic Groups) but you should be able to take a look at it and maybe put it to work for you.

HTH,
Kevin