I have a custom page /community/mycustompage with some informations for my users. Sometimes I would like to show an additional widget on this page.
My idea was to add a custom hook for this page and to show my widget only on pages with this hook. However, there is no possibility to define a custom template within the page settings.
What is the xf way to define a custom template for a single page? Do I have to add the template via PHP callback function or is there an easier way?
Thank you for any hint,