Making language dependent Terms of services.

Here we can make tutorials ... how to ...
it will make it more easy to start with our new sites.

Making language dependent Terms of services.

Postby admin » October 12th, 2010, 1:48 am

thanks ramil ... you did the trick for me ;)

I´m "lazy" and will save little time so I did it this way instead :)

Code: Select all
<a href="{virtual_path}page/{session.language}_tos/">{lang:"core","menu_tos"}</a>

I will explain little how it´s works: this is only an example for french languages:

the translation for terms of service is in /includes/languages/french/lang.core.php

"menu_tos" =>
"Conditions d'utilisation",

go to: ---> cp ---> content ---> manage page ---> general ---> add page

make a new page and set the label to french_tos
(it must be the same name you have on your languages file)

and only fill in:

name: Conditions d'utilisation
label: french_tos
page: vous écrire des termes du texte de service ici...

and submit so you save your work :)

wish you good luck ! hope the guide will help you !

and thanks ramil for your tutorials how to do it ...

you can read the originalpost here
//gugu
Admin VldMods Forum
User avatar
admin
Site Admin
 
Posts: 105
Joined: 13 Aug 2010
Location: sweden
Knowledge: 6
Vld Version: 2.7
Vld Site: http://www.love2u.se

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron