Provide an extension point for CP template suggestions #10372
-
There is a way for the plugins to provide custom template roots, for example allowing to use them when configuring Section site settings templates, but there is now way to make the CP template autocomplete (craft.cp.getTemplateSuggestions) to suggest templates from custom template roots. It would be nice to have a way to make autocomplete suggest these templates. |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
Jan 18, 2022
Replies: 1 comment 2 replies
-
Custom template roots definitely should have been considered by default. Just made that happen for the next release (fe25e04). |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
brandonkelly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Custom template roots definitely should have been considered by default. Just made that happen for the next release (fe25e04).