We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28326
    • 6 Posts
    @neos.
    In the file <site root>/assets/modules/yams/class/yams.class.inc.php there is a reference to <site root>/assets/modules/yams/class/../yams.config.inc.php
    Here is a copy of my yams.config.inc.php (I use YAMS 1.1.4a)
    If you have your website installed in a subfolder check line 114 and add like this ’subfolder/subfolder2’ where subfolder2 is your website install.
    And don’t forget to put the right permissions on that file (for example chown + chmod with apache user + group on linux).
    I hope it helps tongue

      noob un jour, noob toujours!
      noob one day, noob every day!
      • 28326
      • 6 Posts
      I have a TV ordering problem in the manager.
      The TV pagetitle_fr is not at the top. It went down in the "Template Variables" section (availiable in all tabs). It is replaced by a another TV that is supposed to show in english tab only...
      check the image to see what I mean embarrassed

      Did that happend to some of you?

      I use modx 1.0.0 and YAMS 1.1.4a

      Thanks.
        noob un jour, noob toujours!
        noob one day, noob every day!
        • 18250
        • 37 Posts
        Quote from: PMS at Aug 24, 2009, 05:06 PM

        Quote from: marclar at Aug 24, 2009, 04:57 PM

        So www.mysite.com/services works, www.mysite.com/services/something doesnt work.
        Any ideas?

        Are you using the very latest version of YAMS (1.1.3 alpha). There was a bug which caused this problem in 1.1.2 alpha that has been fixed in 1.1.3.

        There’s also a bug in 1.1.3 alpha with friendly alias paths which that means that any friendly alias suffixes and prefixes are applied at every level, not just on the filename. I have already fixed this. If you can wait an hour or two I’ll release 1.1.4 alpha which fixes the bug.

        Paul

        Hi PMS, just wanted to tell you that problem is gone since i upgraded to latest 1.1.4.

        Thank you, keep up the good work.
          • 21700
          • 42 Posts
          PMS, thnx for the help, I’ll reset permissions and retry. Might that solve the TV problem too? I got the latest YAMS, the latest ManagerManager and the latest version of MODx, just did a fresh install today wink

          Screenshot is included. I’ll retry tomorrow when I’m back @ work!


          Oh and st1pixel, thank you for the effort. I hope my YAMS install will generate the file itself when I do the permission stuff. If it doesn’t, I’ll be sure to grab your file!

          Thanks for the quick replies too smiley
            • 22851
            • 805 Posts
            Quote from: st1pixel at Aug 26, 2009, 11:05 AM

            I have a TV ordering problem in the manager.

            Please can you try the attached patch? It should fix the sorting problem. Just rename to remove the .txt extension and substitute it for your existing assets/modules/yams/yams.mm_rules.inc.php file.

            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.
              • 28326
              • 6 Posts
              I have a TV ordering problem in the manager.

              The patch worked like a charm.

              There are still issues with the other multilingual variables in the manager. Almost all TV appear in every language tab (all exept one...).
              I used: [[YAMS? &get=`tv` &from=`myTVName`]] in my template and created the appropriate myTVName_en and myTVName_fr as Template Varibles.


              Thanks for checking tongue


                noob un jour, noob toujours!
                noob one day, noob every day!
                • 10958
                • 8 Posts
                @PMS

                In your code $itsCurrentLangId is initialized to:

                // The current language id for the document
                private $itsCurrentLangId = 'en';
                


                into a class variable. But in some site ’en’ lbeanguage can not present.

                Giorgio
                  • 21700
                  • 42 Posts
                  Hi Guys!

                  The permissions trick worked like a charm. However, I still don’t see the options to insert a pagetitle etc. I also applied the TV ordering patch supplied a few posts before this one. PMS, have you seen the screenshot? If you need any additional information, I’ll try to assist in whatever way I can.

                  Thanks for the help and the great app!

                  noes

                  PS: I noticed that when adding Dutch as language to the site, the following message appears:
                  Created a template variable called <strong>pagetitle_en</strong> (1).
                  Created a template variable called <strong>pagetitle_nl</strong> (2).
                  Created a template variable called <strong>longtitle_en</strong> (3).
                  Created a template variable called <strong>longtitle_nl</strong> (4).
                  Created a template variable called <strong>description_en</strong> (5).
                  Created a template variable called <strong>description_nl</strong> (6).
                  Created a template variable called <strong>introtext_en</strong> (7).
                  Created a template variable called <strong>introtext_nl</strong> (8).
                  Created a template variable called <strong>menutitle_en</strong> (9).
                  Created a template variable called <strong>menutitle_nl</strong> (10).
                  Created a template variable called <strong>content_en</strong> (11).
                  Created a template variable called <strong>content_nl</strong> (12).

                  However, they don’t appear in the tabs.
                    • 22851
                    • 805 Posts
                    Quote from: gm at Aug 27, 2009, 02:13 AM

                    @PMS

                    In your code $itsCurrentLangId is initialized to:

                    // The current language id for the document
                    private $itsCurrentLangId = 'en';
                    


                    into a class variable. But in some site ’en’ lbeanguage can not present.

                    Giorgio

                    Ah, yes. I see now. So your patch really is needed for version 1.0.5 beta. It isn’t needed for the latest alpha version by the way, since it appears I already fixed this (although in a slightly different way).
                      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: noes at Aug 27, 2009, 02:29 AM

                      PS: I noticed that when adding Dutch as language to the site, the following message appears:
                      Created a template variable called <strong>pagetitle_en</strong> (1).
                      Created a template variable called <strong>pagetitle_nl</strong> (2).
                      Created a template variable called <strong>longtitle_en</strong> (3).
                      Created a template variable called <strong>longtitle_nl</strong> (4).
                      Created a template variable called <strong>description_en</strong> (5).
                      Created a template variable called <strong>description_nl</strong> (6).
                      Created a template variable called <strong>introtext_en</strong> (7).
                      Created a template variable called <strong>introtext_nl</strong> (8).
                      Created a template variable called <strong>menutitle_en</strong> (9).
                      Created a template variable called <strong>menutitle_nl</strong> (10).
                      Created a template variable called <strong>content_en</strong> (11).
                      Created a template variable called <strong>content_nl</strong> (12).

                      However, they don’t appear in the tabs.

                      Two questions and one request:

                      1. It says that all those template variables were created - which is correct, but were they actually created? Can you see then under Elements>Manage Elements>Template Variables.
                      2. Do the template variables appear anywhere in the document view, or is it just that they are not displayed on the correct tab?

                      Please can you go to the ’Multilingual Templates’ tab and click update and see if anything else happens?

                      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.