Closed (fixed)
Project:
OG Vocabulary
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2006 at 12:10 UTC
Updated:
15 Feb 2007 at 23:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedadam - i have granted you cvs access to this module. feel free to commit once you have some code you are comfortable with. if you want a 2nd opinion, ask for one in this issue tracker and i will try to review.
might as well just committ his one since we will fix any problems that are reported.
Comment #2
moshe weitzman commentedout of curiosity, why is this needed? if a node gets posted, pathauto already knows what og it belongs to and what terms were affiliated. is this just needed to make sure those stay consistent when multiple of each were picked?
Comment #3
moshe weitzman commentedalso, t('[ogname]') looks real odd to me. do most pathauto modules translate this? if it is an id, it should not be translated. if it is human readable text, it should. i fear that it is both in pathauto?
Comment #4
moshe weitzman commentedanyway, i am going to comnmit this ... still curious about answers to my questions.
Comment #5
cooperaj commentedSorry about the delay in posting. Lost access for a week.
This code allows you to use your organic group name in Taxonomy vocab listings, this is what makes it different to the normal OG support of pathauto. It allows you to use the alias in the path for the taxonomy page. Like so:
Normal:
taxonomy/234Pathauto (alias):
this/is/my/listingThis patch (with pathauto):
mygroup/this/is/my/listingIt just helps to further separate group vocabs from site-wide vocabs.
Just out of interest. I don't quite understand the access I have to this module. As far as I know I have commit access to contrib (though life got in the way of committing the module that gained me the right). How do I have access to this one?
Comment #6
moshe weitzman commentedthanks.
i just added you as a committer for thois project. you can now commit to it, using usual cvs commands ... please post an issue and wait for feedback before doing so.
Comment #7
(not verified) commentedComment #8
david lesieur commentedt('[ogname]') seems really strange to me too. But I just discovered that pathauto already does this for all its ids, so I guess we might want to keep it for consistency... Must be very problematic on multilingual sites though...
I don't understand why a loop and a query is necessary for generating the alias. Here's a patch that removes both.
The patch applies both to the 4.7 and 5 branches and should work on both, but I've tested only on 4.7.
Comment #9
david lesieur commentedOops, just realized I'm in the wrong queue... I'll re-post in the right place. Sorry!