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

    I have a page that has 2 image based features on it.

    One where an image/banner cycles through multiple images, it uses this ditto call:

    [[Ditto? &tpl=`hero-slides` &orderBy=`pagetitle ASC`]]

    And another where the images are thumbnails that when clicked load up a lightbox effect.

    [[Ditto? &tpl=`polaroids` &orderBy=`pagetitle ASC`]]

    basically what is happening is the Hero Slides calls the right images plus resources that are supposed to go into Polaroids, and visa versa.

    Is there anyway to avoid this?
      • 4310
      • 2,310 Posts
      Try adding a unique id to each Ditto call :
      [[Ditto? &id=`heroes` &tpl=`hero-slides` &orderBy=`pagetitle ASC`]]
      [[Ditto? &id=`polaroids` &tpl=`polaroids` &orderBy=`pagetitle ASC`]]
        • 10780
        • 69 Posts
        would that work? I actually created filters from a TV and that works too.

        Thanks anyway.
          • 10780
          • 69 Posts
          Ran into another problem. I have a new section that I need to display on the home page using Ditto.

          But the ditto is calling in my images and not the news resources.

          I am actually creating the news resources on another page, but displaying the titles on the home page.