- Issue created by @swirt
- 🇮🇳India nidhi27
Hi @swirt,
It would be great if you can tell me the structure to display the data.
Thanks!
- 🇺🇸United States swirt Florida
Great question. I almost forgot what my intention was.
Example:
Let's say we have a content model document that is documenting the "article" content type (or vocabulary) When you view the document :- If the pathauto module, is installed it would display the Pathauto pattern for articles"Pathauto pattern: article/[node:title]"
- The location should be below any custom fields on the document, but above the permissions table.
- If Pathauto is not installed, nothing would be output.
- If Pathauto is installed but there is no pattern for this content type, it would say "Pathauto pattern: No pattern set."
You can ignore my note in the issue to also do it for any title patterns. That solution may not be tied to just detecting one module being used..
- 🇮🇳India nidhi27
Hi @swirt,
There may be possibility that one content type can have multiple patterns also. In that case it will be good to show in table. Kindly share your view.
Thanks! - 🇺🇸United States swirt Florida
That is a good point, @nidhi27. I think I'd prefer a list to a table. I think it is better for accessibility.
- Merge request !44CM Document for content types should show alias pattern. → (Merged) created by nidhi27
- 🇮🇳India nidhi27
Hii,
I have created MR !44 to resolve this. Let me know if any changes are needed. Thanks!
- 🇺🇸United States swirt Florida
Fantastic work Nidhi27. This works great. Thank you so much for this contribution.