-
- 1,024 Posts
I did those flags to and it worked great, followed your guide.
Only thing is that one was hidden at start because of my CSS.
fr.
-
- 805 Posts
Quote from: Joeeeeh at Dec 09, 2009, 12:14 PM
Quote from: PMS at Dec 09, 2009, 10:42 AM
Please see this post on this post on how to create a linked language flag list. Cheers.
I did, but its not working? It only shows my current flag and nothing more :S
There was a typo in my original post. In the YAMS snippet call it should be other
FlagItemTpl with a capital F for Flag.
-
- 84 Posts
Ok thanks for everything, now i have 1 more problem, the menu titles doesn’t work?
It gives the name automatically from the ’Internal Name’ field in General tab :S so if i leave it plane the menu title will be Untitled Resource.. what to do?
Thanks
-
- 805 Posts
When you say that the menu titles don’t work, which menu titles are you talking about? Do these menu titles appear in menu output created with Wayfinder? If so, you’ll need to use YAMS-ified Wayfinder templates to get Wayfinder to output multilingual content. To get a YAMS-ified multilingual menu in default Wayfinder format, just add
&rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/row.tpl`
to your Wayfinder snippet call.
-
- 805 Posts
Hi Joeeeey.
Are you currently playing with the site that comes with the default MODx install?
From what I understand, a menu is displayed when you view your site. With MODx menu’s are normally generated using an excellent snippet called Wayfinder. Since menus are normally displayed in the same place on every page, the Wayfinder snippet call which generates the menu is generally placed in the document template.
So, go to one of your documents and check which template it is using. It will say so on the general tab of the document. Then go to Elements>Manage Elements>Templates and select that template. Then find the Wayfinder snippet call [[Wayfinder? ... ]] in the template. This is what you will need to modify so that it will generate multilingual output. If you post back with your Wayfinder snippet call as it appears now, I’ll explain what you need to do to get it to generate multilingual output.
-
- 805 Posts
Hi Joeeeey.
Please edit the chunks called mh.OuterTpl, mh.InnerTpl, mh.RowTpl and mh.InnerRowTpl and use the
instructions for custom multilingual Wayfinder templates in the YAMS documentation (just added) to make the relevant replacements. Then it should all work.