How to properly override / add views in applications/dashboard/views/home?
I want to override privacypolicy.php (to be based on the code of termsofservice.php, which makes it possible to write up your own policy in the locale definitions) and add a similar page called legalnotice.php.
What I did:
Copy applications/dashboard/views/home/termsofservice.php to themes/customtheme/views/home and rename it to privacypolicy.php
Copy privacypolicy.php as legalnotice.php in that folder
Edit the text definitions in those files accordingly
Call those pages from the footer like
< a id="TermsOfService" class="Popup" target="terms" href="/home/termsofservice">Terms of Service< /a >
< a id="LegalNotice" class="Popup" target="legal" href="/home/legalnotice">Legal Notice< /a >
But it doesn't work that way:
Terms of Service is showing up correctly (as it comes unaltered from the original folder)
Legal Notice is not showing at all (leading to the "Page Not Found" error page)
There has to be at trick to it which I don't know yet. I want all three pages to be similar formated (to look as /home/termsofservice) and have the content coming from the locale definitions file.