We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20826
    • 5 Posts
    I have a resource which has a TV
    I have a chunk that calls parts of the resource such as [[+pagetitle]] and [[+introtext]] - works fine
    I also want to call the resource’s TV [[*thumbnail_image]] in the chunk - doesn’t work

    Is this suppose to work? It seems to have no effect at all.

    If the same TV is called through a template it works fine so before you ask
    yes, the template variable has content.

    I’m using Modx 2.03pl - was this an issue fixed in the latest update?

    if this is suppose to work in my version i’ll get my site info.

    Thanks for any help I really appreciate a response smiley



      • 3749
      • 24,544 Posts
      If [[+pagetitle]] works, you must be using getResources or some other tool to show the chunk. If so, [[+thumbnail_image]] would also work as long as you set the parameters correctly in the snippet tag (e.g. &tvPrefix=`` &includeTVs=`1`&processTVs=`1` for getResources).
        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
        • 20826
        • 5 Posts
        Thanks mate!!

        Yes, I am using getResources smiley I will give it a go

          • 20826
          • 5 Posts
          &tvPrefix=`` &includeTVs=`1`&processTVs=`1`
          in template ... and

          [[+variable_name]]
          in chunk, works great.

          Just make sure it’s Prefix, not Previx. wink

          Thank you so much BobRay
            • 3749
            • 24,544 Posts
            Quote from: n00b at Oct 22, 2010, 08:23 PM

            Just make sure it’s Prefix, not Previx. wink

            Oops. Fixed above. Sorry about that.

            I’m glad you got it working.

            Welcome to MODx. smiley
              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