We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33379
    • 110 Posts
    Hi,

    I have a gallery built using MIGX which is working on three sites without a problem. I have just added it to another site but it is not working. The MIGX tv shows up in the resource in the manager and I can add and edit content without a problem. However, there is no output from MIGX on the page, I have had a look at the source code of the rendered page and there is nothing where the MIGX output should be. Both MODX and MIGX are latest versions, however the three operational sites are all on older 2.X.X versions of MODX and MIGX is on 2.5.9, so I was wondering if there have been some changes to MIGX in order to be compatible with MODX 2.3.X that I am not aware of, or are there any conflicts with other extras, this site has Articles running on it too?

    My MIGX calls are:

    Main Image:
    [[!getImageList? 
        &tvname=`galleryCaption1` 
        &tpl=`galleryItemTpl1` 
        &reverse=`1` 
        &imageHeight=`MIGXimageHeight`
    ]]


    Thumbnails:
    [[!getImageList? 
        &tvname=`galleryCaption1` 
        &tpl=`galleryItemTpl2` 
        &totalVar=`MIGXtotalItems`
    ]]


    Thanks - Mark.

    MODX 2.3.5
    MIGX 2.9.4
    PHP 5.4.41
    MySQL 5.5.40-cll

    This question has been answered by zaphodx. See the first response.

      • 5430
      • 247 Posts
      What's your MIGX config look like?
        • 4172
        • 5,888 Posts
        And what is your output with

        [[*galleryCaption1]]
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 33379
          • 110 Posts
          Hi Bruno,

          Output with
          [[*galleryCaption1]]
          is:
          [{"MIGX_id":"1","image":"pics/Natural_Mystique_01_720px.jpg","caption":"Natural Mystique playing Bob Marley","altText":"Bob Marley tribute band","imageHeight":"720","imageWidth":"540"},{"MIGX_id":"2","image":"pics/TJ-banner-pic.jpg","caption":"Test","altText":"","imageHeight":"475","imageWidth":"950"}]


          Interestingly claytonk, when I go to MIGX in the Extras menu I get this message:

          "Fatal error: Class 'IndexManagerController' not found in /home/natkomus/public_html/core/model/modx/modmanagerresponse.class.php on line 185"

          So I guess something is amiss with the MIGX installation, all the other items under the Extras menu work properly.

          Thanks for your ideas, hopefully this will give some insight to where the problem lies.

          Cheers - Mark
          • discuss.answer
            • 33379
            • 110 Posts
            Uninstalling and re-installing MIGX seems to have fixed the problem. Thanks for your input, it made me look at the problem from a different angle smiley

            Cheers - Mark