We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26163
    • 43 Posts
    Hello,

    How can I have a TV appear in all the pages. For example I have made a blank template and assigned a TV called rightbanner. I have put the input type as image in this TV from where I can browse the image and upload it to the server. Now I want this image to appear in all the resource pages. To upload image, I use the resource called "upload right banner" to which I have assigned the blank template. Right now, the image i called via this resource only appears on the page where the TV is assigned. Please help.
      • 21838
      • 284 Posts
        MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
        • 26163
        • 43 Posts
        Hi Novolo, the solution you have provided seems to be of revo. But I am using evo. sad
          • 33968
          • 863 Posts
          Hi Santosh, you have already created a resource called ’upload right banner’ which you will use only for managing the banner?

          In this case, you could use the getField snippet to retrieve this TV from any other page on your site.

          Something like:
          [[getField? &docid=`X` &field=`bannerTV` ]]
          

          Where X is the id of the ’upload right banner’ resource, and ’bannerTV’ is, well, your banner TV smiley

          Note: you could also create a ’banners’ tab for your home page and move your banner TVs there using ManagerManager. That way you wouldn’t need to use a whole resource just for your banners...