We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36773
    • 2 Posts
    I have some problem to display TV.


    I want to display all titles, ids, AND !TV! in folder.

    In folder's content I write:
    [[!getResources? &tpl=`autos_tpl_fotos` &includeContent=`1`]]


    In chank's content(autos_tpl_fotos) write:
    <tr><td class="clear auto" nowrap=nowrap><a href="[[~[[+id]]]]" title="[[+pagetitle]]">- [[+pagetitle]]</a></td></tr>


    It's work!
    But if I add any TV's, this TV don't display sad
    <tr><td class="clear auto" nowrap=nowrap><a href="[[~[[+id]]]]" title="[[+pagetitle]]">- [[+pagetitle]]</a></td></tr>
    <tr><td>
    [[*id_album?]]
    </td>
    </tr>


    id_album - NOT DISPLAY((

    help!

    [ed. note: le_baron last edited this post 12 years, 7 months ago.]
      • 3749
      • 24,544 Posts
      You need to add these to the getResources tag:

      &includeTVs=`1`  
      &tvPrefix=``


      And you might need this as well:

      &processTVs=`1`

        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
        • 36773
        • 2 Posts
        thx! BobRay!
        it's work!