I currently have a pattern set up for my site's basic pages. It pulls in some generic fields associated with the content type, and no problems there.
Got a new requirement to associate some data from a taxonomy term into the URL path. The content type already had an entity reference field to pull in the taxonomy terms, so the user could associate any number of those terms with the content.
My issue is that I can only use the Taxonomy Term's Name field in the Pathauto pattern configuration. I see no way to bring in another field associated with that Taxonomy term. So, for example, the vocabulary
Company has a field called
field_short_name that I would like to include in the Basic Page's URL.
Example data of what I have:
- Company taxonomy term
- Title: ACME Limited Corporation
- Short Name: ACME
- Basic Page content:
- Title: John Doe
- Entity Reference: ACME Limited Corporation
- Path Auto:
This currently gives me
www.example.com/ACME-Limited-Corporation/John-Doe where I really want it to give me
I hope I'm explaining this in a way that makes sense.