We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8311
    • 25 Posts
    Hi all,
    using Ditto to list news pages in a summary type thing.
    Got it all working well, but I want it to show a thumbnail of the main image that has been loaded in the main news page as using a TV..

    (example at http://www.noosasafaris.com.au/index.php?id=18) index 1 is the only page with content...

    Here is the code for my Ditto tpl...

    <div class="newsitem">
    <div class="newsthumb"><a href="[~[+id+]~]"><img src="assets/images/Side Images/coloured-sands1313px.jpg" /></a></div>
    <h2><a href="[~[+id+]~]">[+pagetitle+]</a></h2>
    [+summary+]
    <a href="[~[+id+]~]"><strong>read more...</strong></a></div><hr>

    How can I get it to pull the same image from the page’s TV and drop it in the div where I have the image above...
    I have tried using the TV placeholder od [*newsimage*] but with no sucess...

    Can anyone point me in the right direction?

    Cheers!

      • 33238
      • 388 Posts
      Hello.

      I asked the same question or to similar, someone wrote this in my post but i dont have time to try this, no yet but i need and i thing that is important.

      http://modxcms.com/forums/index.php/topic,48489.msg283781.html#msg283781

      so may be you can read and try, may be is e answer that you need. undecided

      if that works or you find the answer please tell me... grin
        --
        ysanmiguel.com