<ul> <li><a href="/en/contact.html" title="Contact" >contact</a></li> <li><a href="/en/links.html" title="Links" >links</a></li> <li><a href="/en/news.html" title="News" >news</a></li> <li class="last active"><a href="/en/homepage.html" title="Home" >home</a></li> </ul>
I note that this weirdness only shows up on one of your languages, not both. It’s certainly not a known Wayfinder yams bug. I’ve never seen it before. Other than clearing your cache, I haven’t got any suggestions yet.
The active class works ok, only the weird thing is, when i click on the ’news’ page the homepage gets active while it should be the newspage..!
So the wrong page gets the class lol.. Is this a wayfinder yams buggy?
From the looks of things your menu will be static rather than different each page load. So you can use a cacheable snippet call, which will be more efficient overall. When using YAMS it’s adviseable to use cacheable calls whenever possible for improved efficiency. So, it would be:
I use this: [!Wayfinder? &startId=`0` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl`!]
[[Wayfinder? &startId=`0` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl`]]
If you want to use a custom mulitlingual tv then you need to make one TV for each language, named content-rechts_en, content-rechts_nl, etc. Then the tvs will automatically get tabified in the document view and [[YAMS? &get=`tv` &from=`content-rechts`]] will display correct language version of the tv for you.
Other question, i can’t figure out how to use TV’s with YAMS.
I have a TV called [*content-rechts*], to use this with YAMS and get it into the Language Tabs i should use this? : [[YAMS? &get=`tv` &from=`content-rechts`]]
This doesn’t work.
I just installed YAMS by following the very detailed and clear instructions. But am seeing a strange problem. When i set Document Layout to "Tabify..." all of the fields at the top of the edit page down to the ’Menu Index’ field become invisible and the YAMS fields are listed below the content box but without any tabs. Firebug shows all of the fields in place with the proper content. It even shows their outline but the top half of the page is white. I tried to look for the css or templates as it seems like a presentation problem but no luck.
This happens for all documents not just the ones using multi-lingual templates. Changing Document Layout to list fixes the issue.
I’m running Evo 1.0.1 and the modx is installed in the project subfolder (http://devbox.net/project/htdocs/). I have set the MODx subdirectory folder to project/htdocs as well as the .htaccess RewriteBase to /project/htdocs/.
Manager does not have an .htaccess file.
ManagerManager has been installed and configured according to the instructions. JQuery is set to ’local’.
Any pointers would be greatly appreciated.
After further research i identified an issue with ManagerManager that might be the cause of this. For some reason ManagerManager does not honor the rename and hide rules for fields. I was able to rename a tab and a field’s help text though. But it ignores mm_hideFields and mm_renameField rules.
I did manage to get YAMS working without ManagerManager though.
Will continue trying to figure this out. I would really like tabify to work.
It’s an excellent plugin with a lot of power. Thank you for sharing it with us.
Wow. That’s a very kind offer. Thanks!
And if you’re ever in Thailand make sure you let me know. I have a guest house on a beach 2 hours south east of Bangkok. You’re welcome to stay anytime.