We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22851
    • 805 Posts
    @ysera. You need to rename you ht.access. It needs to be called .htaccess.

    EDIT: Looks like you got there first. Glad you got it working.
      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.
      • 24189
      • 19 Posts
      Hi PMS, modxlers

      A question about the Multilingual Templates-Tab:
      1. When I add a new template and update only the new one (in the Multilingual Templates-tab) then all connections to the other templates get lost. huh
      2. When updating all templates, the settings, in which templates the default fields have to be visible are being overwritten.

      e.f.
      Before update:
      Template1 -> do not show descripton, introtext
      Template2 -> show all

      After update:
      Template1 -> show all
      Template2 -> show all

      This occurs only with the default fields, with my custom tv’s there is no problem.

      Is there a solution for this?

      Regards, QT
        • 22851
        • 805 Posts
        Quote from: qtx at Oct 09, 2009, 10:35 AM

        A question about the Multilingual Templates-Tab:
        1. When I add a new template and update only the new one (in the Multilingual Templates-tab) then all connections to the other templates get lost. huh
        QT. Sorry, but I couldn’t reproduce this. I tried creating a new template, then going to YAMS>Multilingual Templates and setting the new template it to ’Yes’ (multilingual) and pressing update. When I did so the existing tvs were associated with the new template, but I didn’t lose any existing associations. Did I do the right thing?

        Quote from: qtx at Oct 09, 2009, 10:35 AM

        2. When updating all templates, the settings, in which templates the default fields have to be visible are being overwritten.

        e.f.
        Before update:
        Template1 -> do not show descripton, introtext
        Template2 -> show all

        After update:
        Template1 -> show all
        Template2 -> show all

        This occurs only with the default fields, with my custom tv’s there is no problem.

        Is there a solution for this?
        I’m not sure I understand. When you say that before the update you were not showing the description and introtext for template 1, how did you achieve that? Did you edit the multilingual description and introtext template variables and disassociate them with template 1? If so, then you’re right, once you do an update on the ’Multilingual Templates’ tab it will re-establish the associations.

        If you wanted to hide a normal document variable then you would probably use something like ManagerManager to do that. I would suggest that you do the same in this instance. Place rules after the YAMS ManagerManager rules to hide the fields. These rules should override the YAMS ones.
          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.
          • 10152
          • 156 Posts
          Hi,

          @PMS : sorry for the time delay, I only could test yams_1.1.7_alpha_rc7 now.
          This release is amazing because it solves many problems related to treasurechest, just by filling the new option with "*". No more conflicts, no more dirty hacks !

          New features since 1.1.2 are great !

          PS : I wish you good holidays if you currently are smiley
            • 24189
            • 19 Posts
            @pms

            Sorry, to get back so late.
            But yes, you did the right thing (new template etc.).
            I just tried myself. Worked fine this time.

            Sorry, must have had the ghost in the machine.

            Thanks anyway!

            QT
              • 23950
              • 78 Posts
              Hey PMS, i guess i found a bug...

              when i’m adding/editing a ressource, if the title (lang) (not the Internam Name) contains a special character (in my case: è) i get a SQL Error.

              I’m trying to create documents with some french accented characters... i’m not able to say in which case there is a bug... sometimes with è it works, sometimes with ê it doesnt work...

              it’s strange... i’m gonna press on the research ^^
                [b]∴ MES SITES SOUS MODx
                • 23950
                • 78 Posts
                Okay i found which caracter introduce a SQL error while saving a document. It’s the apostrophe : ’ used in the pagetitle of the default language (set in Modules > YAMS > Language settings).

                I tried to use an apostrophe in other language or other fields, it works...
                  [b]∴ MES SITES SOUS MODx
                  • 19209
                  • 18 Posts
                  @PMS - Hey buddy! So I’m back in business on my original project that led me to investigate I18N URLs in MODx + YAMS. What’s the latest versions of MODx + YAMS + ManagerManager we’re working with now?

                  Thanks,
                  --mgbowman
                    • 36624
                    • 535 Posts
                    Quote from: mgbowman at Oct 13, 2009, 04:38 AM

                    @PMS - Hey buddy! So I’m back in business on my original project that led me to investigate I18N URLs in MODx + YAMS. What’s the latest versions of MODx + YAMS + ManagerManager we’re working with now?

                    Thanks,
                    --mgbowman

                    1.1.7 rc7
                    http://modxcms.com/forums/index.php/topic,36513.msg245787.html#msg245787
                      CTRL+SHIFT+U - Clear Cache
                      CTRL+SHIFT+H - Hiding Heft Panel
                      CTRL+SHIFT+N - Fast Create Resource
                      CTRL+ALT+P - Preview Recource (in edit resorce window)
                      CTRL+ALT+S - Save
                      • 10076
                      • 1,024 Posts
                      Hi,

                      can someone tell me if myhtaccess file has errors.
                      I sometimes have problems with my site, could be the host.
                      Just would like to be sure it is not my problem:

                      # Friendly URLs
                      RewriteEngine On
                      RewriteBase /
                      
                      # Fix Apache internal dummy connections from breaking [(site_url)] cache
                      RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
                      RewriteRule .* - [F,L]
                      
                      # Exclude /assets and /manager directories from rewrite rules
                      RewriteRule ^(manager|assets) - [L]
                      
                      # Redirect from mydomain.com/rootname to mydomain.com/rootname/
                      RewriteRule ^en$ en/ [R=301,L]
                      RewriteRule ^it$ it/ [R=301,L]
                      
                      # The Friendly URLs part
                      RewriteCond %{REQUEST_FILENAME} !-f
                      RewriteCond %{REQUEST_FILENAME} !-d
                      RewriteRule ^en/(.*)$ index.php?q=$1 [L,QSA]
                      RewriteCond %{REQUEST_FILENAME} !-f
                      RewriteCond %{REQUEST_FILENAME} !-d
                      RewriteRule ^it/(.*)$ index.php?q=$1 [L,QSA]
                      RewriteCond %{REQUEST_FILENAME} !-f
                      RewriteCond %{REQUEST_FILENAME} !-d
                      RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
                      
                      #always add www - change your domain
                      RewriteCond %{HTTP_HOST} ^tillda* 
                      RewriteRule ^/*(.*)$ http://www.mysite.com/$1 [L,R=301,QSA]


                      Edit, I reinstalled Modx because after one or two clicks my site would bee unavailable. WHen I used an index.html on my site, all was okay. So it was noy host related (Iguess), and indeed, Modx seems stable again. I will try and reinstall yamss again perheps not the latest version however. Anyone had the same problem?

                      fr