Modify Content Under Padlock
When your visitor encounters a “Sorry, you’re unable to access this content” page that has the DAP Padlock image on it, you can customize the text that shows up below the padlock by doing this:
1) Open the file error.php
that is stored in the /dap/inc/
folder.
2) RENAME it as (or COPY it as) customerror.php
.
3) You can put ANY kind of HTML content within this. Images, javascript, css,, buttons, text, whatever. Any HTML can be used in this file.
4) Upload this new file customerror.php
back to same folder /dap/inc/
5) error.php
doesn’t matter any more. Whether you delete it, or just leave it alone, the fact that there is a customerror.php
file in the same directory means that DAP won’t even bother about error.php
any more.
6) Future updates of DAP will not touch your customerror.php file. So updates or upgrades will not mess with your custom error page copy.