Pathauto and Breadcrumbs
DaniOrama - August 9, 2008 - 21:53
| Project: | Subgroups for Organic groups |
| Version: | 6.x-0.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hello, I'm just starting with OG Subgroups and I think it would be good a system for enabling autopath for group content. Right now I managed to Autopath the subgroups using "g/[bookpath-raw]/[title-raw]" for group nodes, but I'm not sure how to manage the same for the contents because bookpath-raw references the bookpath from the content and not the group. Any ideas?
I'd also like to have the group hierarchy in breadcrumps, but I don't know how to do it. Maybe "Custom breadcrumps" module? Anyone knows how to configure it for subgroups?
Thank you!

#1
Sounds a reasonable feature. Probably there should be subgroups integration with token. Would you like to write the patch?
#2
#3
Mmm, I'm not so sure how to do that... I'm a programmer but I have no experience with Drupal development... (I find really annoying to develop with Drupal because I cannot trace or follow code, I've tried with devel, coder and tracer but none worked as I expected...)
#4
DaniOrama, if you are a programmer then you have a better start then I had when I started playing with Drupal ;)
Give it a shot, post you findings as patchs and we'll try to help you - that's probably the fastest way to get this feature in...
btw, I use eclipse PDT + XDebug to debug the code.
#5
Hey, thanks a lot, I was trying to modify a module to make it work with another one and it was a BIG pain in the ass... (both modifications use other names so it won't be collisions... I hope...) I will give it a try. I use Linux with Lampp so I hope it works. I will try those small changes with my module (I know the code better) and then I'll go with Subgroups...
Any info about how Token module works? I also tried Custom Breadcrumbs but it seems not working... Anyway, with just the new item for token and Custom breadcrumbs it will theoretically work...
Is there any reason to use Book for Subgroups? I mean there are some things that work a bit odd and create some confusion. And it is not so easy to create a frontier between what are Books and what are Subgroups. Wouldn't it be better just letting it the same as in Drupal 5 version?
Aaaarg, exams approach and I'm discovering ways to develop with Drupal... I'm doomed!!!
#6
http://drupal.org/node/482156