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

    im currently getting myself into Modx, and right now i’m still loving it! But i have a problem i can’t solve.
    I have kind of a jquery controlled list of different Sections which when clicked slide in the Content. My first waay to solve this
    was creating all the sections as resources under one parent and reading them ouit with getresources.
    That works: I get all the titles, my jquery is running smoothly, but when it comes to the content, nothings shown.
    i parse the getresources with a chunk template:
    <div id="C[[+pagetitle]]" class="[[+pagetitle]] [[+pagetitle]]Content">
    <h3>[[+menutitle]]:</h3>
    [[+content]]
    </div>
    

    Everything is shown an parsed correct except the content?! Did i do something wrong? The Resources are filled in correctly?

    Please help me...
      • 3749
      • 24,544 Posts
      Do you have this in the getResources tag:

      &includeContent=`1`


      ;)

      Welcome to MODx.
        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
        • 5502
        • 3 Posts
        hmmmm... nope..;)

        i’ll try it...thx!
          • 5502
          • 3 Posts
          ok then, a very difficult question solved...;) huh cool shocked
            • 3749
            • 24,544 Posts
            I’m glad you got it sorted. Thanks for reporting back. smiley
              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
              • 36618
              • 26 Posts
              Quote from: BobRay at Sep 20, 2010, 11:42 PM
              Do you have this in the getResources tag:

              &includeContent=`1`



              Thanks, that did the trick in my template:

              [[!getResources? &parents=`114` &depth=`1` &limit=`1` &includeContent=`1` &showHidden=`true` &tpl=`uitgelichthomeTPL` &processTVs=`1` &includeTVs=`1` &sortby=`{"publishedon":"ASC","createdon":"DESC"}`]]


              Make sure to put
              [[+content]]
              in your chunk