We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    thats strange, now what do you get with


    [[getImageList?
      &tvname=`recentprojectsTV`
            &tpl=`recentprojectsTpl`
      &value = `
    [{"MIGX_id":"6","titlerecentprojects":"Garden Design in Fleet","descrecentprojects":"
     
    This is a description of garden design in Fleet
    ","imagerecentprojects":"assets/images/plantofmonth-poppy.jpg"}]
    
    `
    ]]


    and with

    [[getImageList?
    &tvname=`recentprojectsTV`
    ]]
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 8822
      • 203 Posts
      with the first code block i get nothing, with the second code block i get:

      Array
      (
          [MIGX_id] => 8
          [titlerecentprojects] => Garden Design in Fleet
          [descrecentprojects] => 
      
      "A quote from a happy client here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua"
      
          [imagerecentprojects] => Plant of the Month - Poppy
          [_alt] => 0
          [_first] => 1
          [_last] => 1
          [idx] => 1
          [property.tvname] => recentprojectsTV


      The description displayed is the wrong description.

      Weirdly, i am using the same template on another page and that page displays the correct description. On the page i am having issues with, I have tried deleting the entries, assigning a different template etc. etc. but whenever i try to add a new entry it always displays the same line of incorrect text.....
        • 4172
        • 5,888 Posts
        what is, when you try it this way?

        [
        {"caption":"Recent Projects", "fields":
        [
        {"field":"titlerecentprojects","caption":"Title"},
            {"field":"descrecentprojects","caption":"Description","inputTVtype":"richtext"}
        ]},
        {"caption":"Image", "fields":[
            {"field":"imagerecentprojects","caption":"Image","inputTV":"imagerecentprojectsTV"}
        ]}
        ]
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 8822
          • 203 Posts
          That works !!!

          If i understand correctly, we are now no longer using the richtextrecentprojectsTV, so i should delete that TV and stick with the above? I'm not defining anything else in that particular TV, so in this instance it should be sufficient.

          Wonder what the issue was with the TV though, very strange.

          Thanks for your help, feel like i have been hitting my head against brickwall for ages smiley
            • 4172
            • 5,888 Posts
            If i understand correctly, we are now no longer using the richtextrecentprojectsTV, so i should delete that TV and stick with the above? I'm not defining anything else in that particular TV, so in this instance it should be sufficient.
            that's correct.

            Wonder what the issue was with the TV though, very strange.

            is it possbile you had this TV assigned to your template and filled with some content for this page?
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 8822
              • 203 Posts
              Thanks really appreciate your help.

              I don't believe that the TV was assigned to the template and filled with content - when i changed the other TV on the page (which did have the same description) it updated its own content but not that of the TV we were having issues with, which remained the same - even weirder !!

              oh well, at least it is working now, so thanks smiley