How to add privacy policy and terms of use page
Most websites have links such as About, Privacy, Terms, Contact, etc... in a menu located in the footer. Is there an easy way to accomplish this in WackoWiki? I did see the following code in the default footer.php file but I have no idea what it means.
footer.php
<?php
// comment this out for not showing website tos link at the bottom of your pages
if ($this->db->terms_page)
{
$tpl->terms_href = $this->href('', $this->db->terms_page);
}
template/footer.tpl
[= terms = <li><a href="[ ' href ' ]">[ ' _t: TermsOfUse ' ]</a></li> =]
Does this mean if I set 'terms_page' => '',
to 1
, the link to TermsOfUse
page will be displayed?
If so, can I copy, modify, and include the above code I could add a contact page, about page, etc... the same way?
Greg
Comments
Log in or create an account to post a comment.
Figured it out
Adding About and Contact page
Example for additional footer links
ContactPage
here requires a message set in your language files.templeate/comment.tpl
Or you hard code the string