We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9994
    • 133 Posts
    Sorry for late reply, didn’t noticed there was any.

    I have it fixed. Tabify TVs by Lang was on. First i updated to the newer version: rc7.
    Still same problem, then i used your fix for the hide, had the blank div issue.

    Then i did below because i had a error message:
    http://modxcms.com/forums/index.php/topic,41396.0.html

    Now it’s good. Thx for the choose language.
    Ill have a better look at the documentation.
      Best CMS eva!
      • 9994
      • 133 Posts
      Weird, I have set YAMS for my Wayfinder.

      It kinda looks like this:

      <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>
      


      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?

      I use this: [!Wayfinder? &startId=`0` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl`!]

      --------

      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.
        Best CMS eva!
        • 22851
        • 805 Posts
        Quote from: fourroses at Nov 02, 2009, 09:15 AM

        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?
        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.
        Quote from: fourroses at Nov 02, 2009, 09:15 AM

        I use this: [!Wayfinder? &startId=`0` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl`!]
        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:
        [[Wayfinder? &startId=`0` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/doc/row.tpl`]]

        I don’t think this has anything to do with the bug, but I thought I’d let you know.

        Quote from: fourroses at Nov 02, 2009, 09:15 AM

        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.
        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.
          YAMS: Yet Another Multilingual Solution for MODx
          YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
          Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
          • 9994
          • 133 Posts
          Deleting and adding the page didnt help, then i added another page and that page then got the problem.
          Really dunno how to solve it lol. Hope an update will fix it in the future or smt.
          It’s not YAMS, when i change it to a normal wayfinder call, the buttonname doesnt seems to have the name i have entered. Weird oO

          Cache was cleared. Yes tried the [[cachable]] way too, thanx for the advise, i’ll change it back to cachable snippet call.

          Ok so it automaticly displays when i use _en and _nl after the tvcall, nice, indeed it works!
            Best CMS eva!
            • 9994
            • 133 Posts
            Im trying to get a id class by adding: <body class="[~[+id+]~]">

            Get this back:
            <body class="(yams_doc:)">


            #edit, i should use:
            <body class="[*id*]">
              Best CMS eva!
              • 22851
              • 805 Posts
              Yes. [*id*] is what you are looking for.

              As an aside, "[~[*id*]~]" would have been converted by YAMS internally to "(yams_doc:[*id*])", which would have evaluated to the full multilingual URL to the current document.
                YAMS: Yet Another Multilingual Solution for MODx
                YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
                • 22851
                • 805 Posts
                Quote from: outre99 at Oct 18, 2009, 12:37 AM

                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.

                Hi @outre99.

                Thanks for sending me your login details. I thought I’d reply here so that others can benefit from the info.

                It appears you are running YAMS 1.0.5 beta. Unfortunately this is not compatible with ManagerManager 0.3.4 and above. I recommend updating your YAMS installation to the latest version available, currently YAMS 1.1.7 alpha RC7. Although this is an alpha release, it’s quite stable now. Several people have been using it over the past month with no bug reports. (The only issues identified have been related to MM and MODx 1.0.1.) I’m in the process of updating the documentation for a new beta release, but I’m quite busy at the moment so progress is slow.
                  YAMS: Yet Another Multilingual Solution for MODx
                  YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                  Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
                  • 22448
                  • 241 Posts
                  Thanks PMS for taking the time despite your busy schedule.
                  There are very few communities our there with this kind of comradeship and support.

                  Upgrading to the new alpha indeed solved all my problems.
                  I’m very glad that it was as simple as that.

                  This was my first multi-lingual site and YAMS made it so much easier than it could have been.
                  If you need testers for your new versions or anything else. I’ll be happy to help.

                  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.

                    • 22851
                    • 805 Posts
                    Quote from: outre99 at Nov 04, 2009, 10:18 PM

                    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.
                    Wow. That’s a very kind offer. Thanks!
                      YAMS: Yet Another Multilingual Solution for MODx
                      YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                      Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.
                      • 22851
                      • 805 Posts
                      @fourroses

                      I split your post off into a separate topic.
                        YAMS: Yet Another Multilingual Solution for MODx
                        YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
                        Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.