| View previous topic :: View next topic |
| Author |
Message |
scarab
Joined: 19 Feb 2012 Posts: 11
|
Posted: Mar 16, 2012 10:19 pm Post subject: Adding a new page.. |
|
|
funny but I have small problem with quite simple thing. I want to add new link to page (privacy policy) in footer where rest of links are.
Like this:
Home | News | FAQ | Terms of service | Privacy Policy | Link Checker | Links | Contact Us
So, basically what I did is:
I have added a line in templates/main.html
| Code: | | <a href="<TMPL_VAR site_url>/privacy.html"><TMPL_VAR lang_privacy></a> | |
And:
In language/english.lng
| Code: | | lang_privacy => "Privacy Policy", |
Also:
I have uploaded privacy.html page in /Templates/Pages/english
I believe that everything i did should be correct. There is a link is named Privacy Policy is in footer..
BUT:
When I click on Privacy Policy it says File not Found
Also there is one more interesting this on that file not found page. there is a link back to main page which is linked to sibsoft main page not mine website. So that brings another question. Where I can change that?
Can anyone give me a hint what am doing wrong with this..
I will appreciate that..
Thanks |
|
| Back to top |
|
 |
ufkabakan
Joined: 13 Apr 2011 Posts: 271
|
|
| Back to top |
|
 |
scarab
Joined: 19 Feb 2012 Posts: 11
|
Posted: Mar 17, 2012 11:23 am Post subject: |
|
|
aha, now i got it. I have followed example how sibsoft done tos.html and faq.html and put in templates/pages/english or ..../german to have localization for each language but ok nvm..
I have uploaded privacy.html to templates/pages/
and instead of:
| Code: | | <a href="<TMPL_VAR site_url>/privacy.html"><TMPL_VAR lang_privacy></a> | |
used this:
| Code: | | <a href="<TMPL_VAR site_url>/pages/privacy.html"><TMPL_VAR lang_privacy></a> | |
Now it works, thanks for help:) |
|
| Back to top |
|
 |
|