We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8384
    • 55 Posts
    Very newbie here...

    I have successfully created a new site with 1 template that serves all the pages. Each page needs to have a different image on the right column. I’m a little confused on how to do this. I’ve tried working with chunks and snippets, but perhaps I should be using TVs. um... any help will be greatly appreciated!
      • 3749
      • 24,544 Posts
      Yes, definitely a Template Variable. Create a single Template Variable for that template (let’s call it TV-Image). Make it an image type and use a generic image as the default value (for pages where you forget to set it).

      put [*TV-Image*]] in the template where you want the image to appear.

      When you edit each document, you can select the image for the TV and it will automatically appear for that page.

      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
        • 19738
        • 1 Posts
        Hi,
        Thanks for both. Actually I am facing the same problem and searching for the same. I tried it and working fine.
          • 8384
          • 55 Posts
          Thank you so much! I can see this will work.

          Unfortunately at the moment there is a hiccup with the FCKeditor. When I select the file to upload it hangs at 50% and doesn’t do anything (it’s been up there for 5 minutes now). Could it be a problem that I have already placed all the images into the assets/images/ folder? or....

          I have downloaded FCKeditor and it’s placed in the root folder of the site.
            • 8384
            • 55 Posts
            FCKeditor now works,

            but

            Image does not show up when I preview it in browser.

            still sluggin away! any help would be great... it’s probably really simple fix.