Quote from: elz64 at May 17, 2009, 07:42 AM
Hi,
Ganesh you should use different chunk to call separately whatever you like with Wayfinder.
The need for root level folder for languages, does introduce some constraints for WF menu, for sure.
You could exclude and INCLUDE page ID in each WF call (&exclude id1,id2,idn...). refer to WF documentation
(here for instance : http://www.muddydogpaws.com/development/wayfinder/parameters.html)
Hi,
thanks for your answer elz64.
I must admit that I don’t totally follow your explanation. I don’t properly understand how chunks work (yeah not kiddin’ about the newbie part..=) ).
The problem with include comand in the WF is that it is not language dependent.
I worked a temporary solutions wich is not perfect.
1) The "about" link that is on top of the page (not in the normal menu) :
<li><a href="[+LanguageID+]/about.html" title="About">About</a></li>
I then created a folder for each language with name and alias equal to the language id, and in the folders an about.html, depending on the language.
Caveats:
-The link is always called about (I didn’t manage to make it language dependent)
-once on the about.html page, the [+LanguageID+] changes to the id of the folder that has the language folder’s id as name. So if I click again on about, I end up to a wrong page. TO be clearer, suppose french folder has id 60, and english id 61. I create two folders named 60 and 61, alias 60 and 61, and with respective id 70 and 71 for example. In the folders, a page about.html
If I am in french language, the about links to 60/about.html. In English to 61/about.html. The good language specific about.html page appears correctly.
Then once on the french about.html page, the new about link becomes 70/about.html and 71/about.html for English, leading obviously to 404.
2) For the Welcome message, always on top of the menu, that I wanted language dependent, I set it to [*description*] and edited the description of every page of my website to ’Welcome’ in the english folder and ’Bienvenue’ in the french one. It is not a very intelligent method, and is time consuming.
I thought of creating a TV, and to prevent from specifing on each page the welcome message, I wanted to make the welcome text to default value. However I do not know how to make the default value of the TV language dependent, so I was back to square one.
If anybody has suggestions to help me out, please do suggest!
Thanxs