Page 2 of 2
Re: Site Multilangue
Posted: Thu Mar 02, 2006 12:42 am
by gogou
Thanks a lot your support. If i'm able to make it multi with your help I will translate the how to in french.
Like "How to made cmsmadesimple multilanguage for noob like me" ^_^
Best regards gogou
Re: Site Multilangue
Posted: Thu Mar 02, 2006 11:06 pm
by gogou
Je pensait avoir posté :s
I've made the two section header, english and french. But now what do I ve to do?
It is written: "It evaluates a $_get variable named pimsw (= pimenuswitch) if available and sets a Smarty variable named $pimsw. Default is 0.".
- ok but where do I set the smarty variable?
Then "now we take the default template pimenu.tpl, which represents CSSMENU and change it for our purpose".
- ok but where do I have to put the pimenu (wich directory) and how ccan i install it. Thenthe stuff I've to change, where do I change them and do I ve to keep old stuff in the tpl?
Sorry but I'm quite lost, I don't know how it work.
Regards Gogou
EDIT, from piratos: (thanks for your help)
Ok
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Pimenu can now divide the Contents between Deutsch and English as one Block Deutsch.
Between English and Stop it is the Block English.
That is all. The rest i make with a Template and pimenu .
If you know this it is very simple to find the line to edit new contents.
If you have more Languages you add some new Sectionhedders.
I explained that in the pdf handbook (is there anybody who translate it ?)
Re: Site Multilangue
Posted: Fri Mar 03, 2006 5:27 pm
by gogou
I've done this:
I use Sectionheaders
Deutsch
English
Stop
These Sectionsheaders should be declared as not visible in the menu.
The Sectionheader Deutsch and English are my Headlines if i edit contents in Deutsch or English.
All Contents in Deutsch are under Sectionheader Deutsch.
All Contents in English are under Sectionheader English.
The Sectionheader Stop is for the pimenu (Name it to what you want).
Now how do I use pimenu? I'm lost :s
Re: Site Multilangue
Posted: Sat Mar 04, 2006 12:02 pm
by cyberman
To the first you must copy pimenu to plugin directory and your template (I name it multilang.tpl) to tmp/templates directory. The you can call pimenu in your template like this
{pimenu template="multilang.tpl" language="French,English,Stop" trenner=""}
Re: Site Multilangue
Posted: Sun Mar 05, 2006 10:22 pm
by gogou
Ok I've put everything in place.
but in the tmp\templates I don't have anything except a index.html with 0ko :s
Don't know what to do next. Sorry I'm lost again I still can't use it :/