I've searched the forums and web in general and haven't found anything that can help me with this.
I have a taxonomy containing states (parents) and cities (children). In several of my views I have a list of content with it's associated taxonomy term elements. This is great and just what I need, however, while articles such as state = Oklahoma and city = Owasso show as I would like them to "Oklahoma, Owasso", state = "Oklahoma" and city = "Henryetta" displays as "Henryetta, Oklahoma".
It seems to me that the term$ array is being sorted alphabetically (am I right?), but doesn't work for my needs. Anyone have experience with this and a possible fix?
Comments
Comment #1
bradweikel commentedNot sure what this has to do with the Taxonomy Defaults module - I'd suggest posting this in the forums or asking on IRC.
However, my guess is that this is related to term weights. You should look at the weights of Henryetta, Owasso, and Oklahoma (go to each term's edit page and look inside the "Advanced" settings) and confirm that this is the problem, and if it is then lower the weights of all your states. Good luck.
Comment #2
fblevins commentedBINGO! Setting all my city terms weights = 1 and leaving the parent state term weights = 0 did the trick! Everything I'd seen while investigating this issue seemed to point to something weight related but I'm kinda new to Drupal (obvious I'm sure) and hadn't done much with weights so didn't really have much of an idea what to do until you helped out.
Thank you VERY much!!!