We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16545
    • 358 Posts
    Evo 1.0.4, Maxigallery 0.5.2, YAMS 1.1.9
    Two languages - de | en
    <base href="(yams_server)" />

    Site Structure:

    Start (1)
    Services (2)
    Portfolio (3)
    Gallery (5) ---> Album1 (6)
    Album2 (7)
    Album2 (8)
    About (4)


    Gallery (5) content ->> [!MaxiGallery? &childgalleries_ids=`all` &display=`childgalleries` &pics_per_row =`5` &pics_per_page=`15`!]
    Album1...N (6-8) content ->> [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &max_big_size=`400x600` &max_thumb_size=`90` &disable_rightclick=`1` &keep_bigimg=`0` &smoothgallery_showInfopane=`false` &upload_field_count=`15` &pics_per_row =`5` &pics_per_page=`15`!]

    Problems:
    1) Then I’m in http://www.domain.tld/en/gallery.html and all Albums thumbnails are OK, but then Albums links are not (e.g. http://www.domain.tld/gallery/album1.html - without langs), so it makes permanent redirecting to default language links.
    2) Then I’m trying to open album pictures just to zoom with some slimbox slideshow effect, but it doesn’t work, maybe because of first problem.




      • 22851
      • 805 Posts
      Quote from: labasus at Jun 16, 2010, 07:47 AM

      Problems:
      1) Then I’m in http://www.domain.tld/en/gallery.html and all Albums thumbnails are OK, but then Albums links are not (e.g. http://www.domain.tld/gallery/album1.html - without langs), so it makes permanent redirecting to default language links.
      2) Then I’m trying to open album pictures just to zoom with some slimbox slideshow effect, but it doesn’t work, maybe because of first problem.
      Hi labasus.

      Maxigallery doesn’t know anything about YAMS or multilingual URLs so it outputs standard URLs. When encountering a standard MODx URL rather than a multilingual one, YAMS’s default behaviour is to redirect to a multilingual URL according to the "URL Redirection Settings" parameters. You should set the redirection mode to "Current" or "Current else browser" to stay in the current language in that instance. The default YAMS setting is to redirect to a valid multilingual URL for the default language.

      However, there are some situations where the redirection can cause a problem. (POSTed information can get lost for example, but query params shouldn’t). If the redirection is an issue then you can tell YAMS to accept the standard MODx URL, but output the multilingual content anyway. (Set the "MODx URLs" setting in the same section to *.) There was a problem in YAMS that would mean it always reverts to the default language in this case rather than sticking to the current language, but I have fixed this in my latest development version: YAMS 1.2.0 RC2
        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.
        • 23459
        • 9 Posts
        I did everything what you have written but with maxigallery it does not work. In maxigallery my problem is that when i click (parent gallery or one of the page in the gallery [< previous 1,2,3,4 next >]) it redirects me to my default language.

        My default language is root domain.com/ and my second language is domain.com/en/

        The second problem I have that when i click on "manage pictures" I can’t see the panel for manage pictures (i mean buttons like "save changes", "sort pictures" and can not upload the pictures). This problem is coused becouse of the first problem I think.

        When I turn off friendly urls than I can see the panel to manage pictures (but the YAMS doesn’t work :/ off course)
          • 9359
          • 128 Posts
          i have the same problem.
          there are solutions?
            "Destiny is not a matter of chance, it's a matter of choice"