We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53699
    • 22 Posts
    Hi Team,
    Iam new to modx. I have created few tv's and when ever i use them in post content it is showing correct data.
    For Example I have created a template variable called ArticleImage set as image in input and output options with default image .When ever I use my tv [[*ArtcileImage]],in content it is showing correctly.If I use same tv in another chunk or template it is showing default value only.
    All other resoucre values like pagetitle, descriptions were coming new values but tvs are getting only default value in chunks and templates used in chunks.
    Could you please guide me .

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

      • 38783
      • 571 Posts
      You might need to call the chunk uncached in order for the TV to be processed. This is achieved by placing an exclamation mark before the $.

      [[!$chunk]]


      https://docs.modx.com/revolution/2.x/making-sites-with-modx/tag-syntax#TagSyntax-Caching

      If this does not help please could you post your chunk code here?
        If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

        email: [email protected] | website: https://andytough.com
      • discuss.answer
        • 53699
        • 22 Posts
        My bad [[+tvTerm]] is the solution. Thanks for for the support and reply.