dibwas
1
Hi Team,
I needed to add a new route and a new function. So I added to the below files:
/lib/routes-web.php
/lib/Controller/Preview.php
My work is done. However I was wondering if it is possible to do the same without touching the core files.
Please advise.
Thanks
Dibs
Peter
2
Yes, you could and should use /custom folder in your CMS installation, with custom middleware and your custom controller in it, please see the relevant docs here - https://xibo.org.uk/docs/developer/extending-the-xibo-platform