We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42689
    • 125 Posts
    Hello user's
    i am using mod'x EVO and i have a TV and i want to call that in my Ditto snippet ..

    my TV name is newsimages..

    and my Ditto snippet is
    [[Ditto? &parents=`4` &tpl=`theteam`&tagData=`documentTags`]]


    can some one tell me how can call tv in this ..?
      • 9995
      • 1,613 Posts
      in chunk theteam add [+newsimages+]?
        Evolution user, I like the back-end speed and simplicity smiley
        • 42689
        • 125 Posts
        Yes

        this is my chunk code
        <div class="ditto_summaryPost">
          <h3><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></h3>
           <p class="ditto_link">[+description+]</p>
        <img src="[[+newsimages]]" />
        </div>
          • 42689
          • 125 Posts
          i means to say when we have user mod'x revo getrecources in this we have to call TV in snippet's expmle :

          [[!getResources? &parents=`16` &tpl=`News`&showHidden=`1`&includeContent=`1`&includeTVs=`1`&processTVs=`1`&tvPrefix=``]]


          as same in mod'x EVO when we use ditto ..! did we have to call TV in ditto snippet if yes then can u plz let me know ..?

          Thanx smiley
            • 42689
            • 125 Posts
            Yeah i get .! in ditto we did nt need to call the tv in ditto snippet ..!

            i am useed in chunk like this <img src="[[+newsimages]]" />

            bt the correct way is

            <img src="[+newsimages+]" /> ..

            i m Right ..? [ed. note: chirag_wgsol last edited this post 13 years, 7 months ago.]
              • 9995
              • 1,613 Posts
              indeed, for Evo (ditto) you need to use: <a href="[~[+id+]~]"><img src="[+newsimages+]" /></a>

              [!Ditto? &parents=`16` &tpl=`News` &showHidden=`1`!]


              or

              [!Ditto? &parents=`16` &total=`5` &showPublishedOnly=`1` &orderBy=`menuindex ASC` &noResults=`No news..` &tpl=`News`!]
              [ed. note: fourroses666 last edited this post 13 years, 7 months ago.]
                Evolution user, I like the back-end speed and simplicity smiley