We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40906
    • 23 Posts
    I'm using a template with a footer chunk on the bottom called [[$footer]].

    This footer chunk contains a Call To Action which is different on every page. The user should be able to fill this in himself for every page. I have made a TV called 'footerCta' and connected it to all the templates i want i to be on. Inside the chunk 'footer' i placed the following code:

    [[+tv.footerCta]]


    Which i would have hoped showed the content the user fills in the TV 'footerCta'. Does anyone know what i'm doing wrong here?

    Thanks for you help!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Use the regular resource value tags. [[*footerCta]]

      The placeholder syntax you used is only for a tpl used with a listing snippet like getResources or Wayfinder. These snippets create the placeholder for each resource they are listing in turn, applying it to its tpl.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 40906
        • 23 Posts
        This worked for me. It was probably a dumb question. Did help me a lot though.

        Thanks.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Easy to get confused wink
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org