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

    I'm trying to collate data from sub page in the parent container page.
    As I need some prev/next features (need to add somme anchor in some block to point to the next sibling block down in the page - [waypoint]),
    I'm turning to pdoResources instead of Getressourses

    However It seams their' no +content output fro pdoRessource, so....?

    As the full offcial doc is in Russian only, and I'm not able to find any tepl example i'm lost.
    Here's my tpl chunk for the PDOR output (that works with GetResources):

    <section id="[[!+pagetitle]]" class="text-center section-padding wayp wp2 [[!+idx]]" role="complementary">
    		 <div class="container">
                <div class="row">
                  <div class="col-md-8 col-md-offset-2">
                    <article class="contents bloc-txt">
    				[[!+content]]
    			<p class="la_suite"></p>
    				</article>
    			  </div>
                </div>
              </div>				
    </section>


    the call is for the moment:
    [[!pdoResources?
    &parents=`1` 
    &sortby=`menuindex`
    &sortdir=`ASC`
    &tpl=`PDOR-tpl`
    &showLog=`1`]]


    any help ?

    thank you

    This question has been answered by elz064. See the first response.

      • 22840
      • 1,572 Posts
      you need to tel it to include content

      &IncludeContent=`1`
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        It has pretty much the same properties as getResources. One major difference is that instead of using includeTvList, the includeTVs property has the list of TVs to include.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
        • discuss.answer
          • 36604
          • 268 Posts
          Quote from: paulp at Oct 13, 2014, 05:11 AM
          you need to tel it to include content

          &IncludeContent=`1`

          Thank you.

          Unfortunately, still no +content data in the output...
            • 4172
            • 5,888 Posts
            what's about

            &includeContent=`1`
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 36604
              • 268 Posts
              Quote from: Bruno17 at Oct 13, 2014, 06:13 AM
              what's about

              &includeContent=`1`

              Yes it's done as I mention above., that's why I wrote "unfortunately"..


              OK FOUND :
              includeContent with an "i" NOT uppercase.

                • 30734
                • 44 Posts
                I don't mean to bring up a dead topic, but this is the closest one I have found to my issue. I too am having a problem with pdoResources and [[+content]]. It works great if that is all I put in, but if I add a output filter like:
                [[+content:limit=`100`]]

                It stops the content from showing up at all. Am I missing something?
                  • 3749
                  • 24,544 Posts
                  See if calling it uncached makes a difference:

                  [[!+content:limit=`100`]]


                  You might also try switching the fastMode setting.
                    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
                    • 30734
                    • 44 Posts
                    I swear I had tried that, but apparently not lol. Thanks BobRay