We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7690
    • 166 Posts
    I am using revo and getResources to list news items on my site.

    However I came across a weird problem.
    The placeholder for the content in a chunk is: [[+content]] right?

    But MODx doesn't seem to know this?

    my tpl voor getResources:
    <div class="nieuws type3">
                  <img src="assets/templates/images/type3.png" alt="Belangrijk!" /><h4>[[+pagetitle]]</h4>
                  <p>[[+introtext]]</p>
                  <div class="nieuws-text">[[+content]]</div>
                  <p><a href="#" class="leesmeer">lees meer...</a></p>
                </div>


    what is wrong with [[+content]]?
      • 3749
      • 24,544 Posts
      Did you put this in the getResource tag:

      &includeContent=`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
        • 7690
        • 166 Posts
        A bit late, but it still doens't work.

        My snippet call:

        [!getResources? &parents=`9` &tpl=`newstplNieuwtjes` &tvFilters=`TypeNews==groen` &includeContent=`1`]]

        It grabs the content of my first document with id 1....
          • 3749
          • 24,544 Posts
          I think if your're using TvFilters, you may need this:

          &includeTVs=`1` &processTVs=`1`


          Remember, too, that if a TV has the default value, tvFilters will see it as blank. It must be manually set for that Resource with something other than the default value in order for tvFilters to work.
            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