We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25260
    • 156 Posts
    I discovered that deactivating server mode in YAMS works. Unfortunately, I must use it :-D

    FuryDE, my Bilingual FURLs are about the same as yours. How did you get this to work? I can’t understand since I can’t understand german smiley

    Cheers,

    Roberto
      • 10313
      • 375 Posts
      How does your iframe URL look like?

      Btw, the German vocabularies I used are not important, just consider them as strings.
        • 25260
        • 156 Posts
        My iframe url is

        http://myhostwithoutrewrite.com/modx/index.php?id=153&mmgal_id=36

        I tried some combinations that seemed quite close to your urls but without luck...

        I get a http://wiki.modxcms.com/index.php/API:sendForward

        ERROR: Too many forward attempts!

        The request could not be completed due to too many unsuccessful forward attempts.

        and I’m stuck there...

        I want to understand how to have http://myurlrewrited.com/apage.html?mmgal_id=36

        Cheers,

        Roberto
          • 10313
          • 375 Posts
          Well, your URL is not a friendly one. Is it for testing purposes?

          Too many forward attempts point to a server misconfiguration. Did you touch the .htaccess file and especially the FURL rules?

            • 25260
            • 156 Posts
            I know that my iframe url is not rewrited... I just wanted to try if that worked. Using the "standard" widget found in this topic, it used a similar url, without rewriting...

            I don’t care how, but I need this to work!

            the .htaccess has been slightly modified to work with YAMS (i.e., language dependent server name and unique multilingual aliases is on). But this doesn’t seem to be the reason of the error.

            Cheers,

            Roberto
              • 10313
              • 375 Posts
              Is the template for your "hidden" management resource (the page that is called in the new manager tab) set to [tt]blank[/tt]?
                • 25260
                • 156 Posts
                Some infos:

                when I switch off FURLs, multilingual aliases and server name mode, the iframe url is correct.

                when I switch back to on, the iframe url is a non authorized page, and MODx redirects me to the Site unauthorized page that I set in the configuration tab.

                Yes the management resource template is blank (I got it working fine in a local server without urls rewriting, using YAMS in query param mode).
                  • 25260
                  • 156 Posts
                  Quote from: FuryDE at Feb 15, 2010, 09:03 AM

                  The URL for the MG backend manager iframe is
                  http://www.myweb.de/galerien/galerien-fuer-gm-verwalten.html?mmgal_id=65

                  Can you explain this url to me? Which settings are you using in YAMS, and so on?
                    • 1787
                    • 4 Posts
                    Have installed the backend manager for MaxiGallery as per the instructions, but am not sure what I am doing wrong.
                    When selecting a resource the Edit Gallery tab comes up, however first there is an error message that says:
                    "ManagerManager: An error has occurred: TypeError - $("iframe") is null"
                    Then the when the window loads the only thing inside it is the current (static) index.html from the old site (We are building a ModX site for the client to replace it). Sorry this might be something obvious, but can’t find anything in the forum so far, and this is our first ModX site.
                    Any advice/recommendations would be appreciated!
                    Thanks
                      • 13137
                      • 204 Posts
                      This is because MM is just going directly to the root file, which in your case is index.html and not index.php

                      You will need to edit assets\plugins\managermanager\widgets\mg_backend_manager\mg_backend_manager.php

                      and replace:
                      <iframe id="mgmanager" src="'.$modx->config['site_url'].'/?id='.$docid.'&mmgal_id='.$id.'" height="500" width="100%" scrolling="yes" frameborder="0"></iframe>

                      with
                      <iframe id="mgmanager" src="'.'http://YOUR-DOMAIN.com/index.php'.'/?id='.$docid.'&mmgal_id='.$_GET['id'].'" height="550" width="100%" scrolling="yes" frameborder="0"></iframe>


                      so that it grabs the correct file.