Marwan Mohamed Posted November 29, 2022 Share Posted November 29, 2022 (edited) hello whmcs am not very good at English but i will try my best to explain what i want to do. ----- i want to create second error page using a hook to show it for a specific part of the website instead of the default internal error page. for example lets say a client requested to view the invoice with an invalid invoice id by default whmcs will show him the ops page (the internal error tpl at /templates/example/error/internal-error.tpl) what i want to do is show a different error page for this specific error on the invoice page instead of the default one (/templates/example/error/internal-error.tpl) when an invalid invoice id is provided, i want to show a custom page or a custom tpl without having to edit the default internal-error.tpl itself for example this is what i want to show for customer when they get invalid invoice id error Edited November 29, 2022 by Marwan Mohamed 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.