XFileSharing Pro - Adding a new page..

Message
Author
scarab
Posts: 11
Joined: Feb 19, 2012 12:04 am

Adding a new page..

#1 Postby scarab » Mar 16, 2012 10:19 pm

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: Select all

<a href="<TMPL_VAR site_url>/privacy.html"><TMPL_VAR lang_privacy></a> |
And:
In language/english.lng

Code: Select all

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

ufkabakan
Posts: 332
Joined: Apr 13, 2011 9:37 pm

#2 Postby ufkabakan » Mar 17, 2012 12:31 am

try this for links:
htxp://www.mydomain.com/[b]pages/[/b]privacy.html

scarab
Posts: 11
Joined: Feb 19, 2012 12:04 am

#3 Postby scarab » Mar 17, 2012 11:23 am

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: Select all

<a href="<TMPL_VAR site_url>/privacy.html"><TMPL_VAR lang_privacy></a> |
used this:

Code: Select all

<a href="<TMPL_VAR site_url>/pages/privacy.html"><TMPL_VAR lang_privacy></a> |
Now it works, thanks for help:)