Hello,
Check the Customer portal XML Reference : XML doesn't allow to override the error page.
Can you explain a bit more why you would want the error page to be customized ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have my own extension based on this code: https://github.com/Combodo/sample-portal-alter-template/blob/develop/datamodel.sample-portal-alter-template.xml
But I can't figure out how to declare the custom template for the error page, the original page can be found at this link:
https://github.com/Combodo/iTop/blob/79da71ecf8197443230701a8c89355baeb98f69c/datamodels/2.x/itop-portal-base/portal/templates/errors/layout.html.twig
Hello,
Check the Customer portal XML Reference : XML doesn't allow to override the error page.
Can you explain a bit more why you would want the error page to be customized ?
Hello Pierre,
we're trying to hide SQL queries to avoid normal user viewing query content.
Please follow this sample URL:
https://demo.combodo.com/simple/pages/exec.php/object/attachment/download/122?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
Thanks, I've reproduced the problem easily !
Added N°6600 in our bug tracker.
The fix was easy, I've created a PR that should be reviewed next week.
https://github.com/Combodo/iTop/pull/525
Hello,
This was fixed in iTop 3.1.1-1 which is now available for download here :)
Take care,
Guillaume