Some Drupal Help ... Views / Pathauto / Organic Groups

2 posts / 0 new
Last post
Some Drupal Help ... Views / Pathauto / Organic Groups

I am pretty new, but have used this form a number of times. I was wondering if anyone here can help.

I am trying to create a hackable URL in Drupal 6. I can do it as described here: http://www.masteringdrupal.com/screencast/hackable-urls-drupal-using-pat...

But I would like to do it using a Group Name at the beginning. so a URl looking like this:

domain.com/blog/catechetics-and-education/4/2011/6/another-post-title

domain.com/blog/GROUPNAME/UID/YEAR/MONTH/TITLE

I just can't get views to figure out the group name. I have tried a number of argument tactics, but none of them will pick up the GID or NID from the group name.

Essentially this would allow me to create a blog for each Organic Group (each having a view), but also allow me to use all of the blog posts in one master view.

Am I not doing this right, is there a better method?

I appreciate the help.

If you're using Organic

If you're using Organic Groups, you should/might be able to use [ogalias] as a placeholder for the Organic Groups path alias. You'll likely want to use a custom field for the group so the group admin/owner can create a custom alias like <archstl>.

Here's more information about hackable URLs with OG (and Views, specifically): http://foggyperspective.com/article/how-create-tabs-within-groups-friendly-urls

Web developer from St. Louis, MO. Personal website: Life is a Prayer.