We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I'm building a website with Modx Revo 2.3.5 and would like to display the 4 latest articles in the home page.
    I'm using getRessources to output the 4 articles, and while I have the title and intro displayed, the image from a TV is not processed.
    In the snippet call &processTvs is ON.
    Some one can help?

    Thanks in advance.

    Ibrahim
      TOIMIMOU Ibrahim
      • 4172
      • 5,888 Posts
      also
      &includeTVs=`1`

      ?
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 3749
        • 24,544 Posts
        also (maybe):

        &tvPrefix=``
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
        • Thank you for your responses but it still not working, my snippet call has all of this and here is it:

          [[!getResources? &parents=`4` &showHidden=`1` &limit=`4` &tpl=`article_listing_tpl` &tvPrefix=`tv` &processTvs=`1` &includeTVs=`1`]]


          And here also the image tag in the chunk:

           <div class="col-md-2 col-sm-3">
                                  <a href="#"><img src="[[+tv.image_article:phpthumbof=`w=250&h=208`]]" alt="miniature image article" class="img-responsive" /></a>


          Is there any other solutions.

          Thanks
            TOIMIMOU Ibrahim
            • 4172
            • 5,888 Posts
            do you get anything, when you just put

            [[+tv.image_article]]


            in your tpl-chunk?
            Also it should be

            &processTVs=`1`


            not

            &processTvs=`1`

              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
            • When it's
              [[+tv.image_article]]
              it doesn't output anything.
              When I look at the rendered html source, the src="" attribute has no value within.
              I'm retriving this image from a TV in the Articles snippet.

              Thanks for your help
                TOIMIMOU Ibrahim