We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • MODX Revolution 2.2.10-pl (traditional)
    I've a parent ressource that contain 12 childs when using wayfinder or getressource to display these childs it works only onces and then it show only 3 of these childs. My child ressources are the same, and of course not hidden from the menu. I've cleared the cache folder few times. I've even tried to create new child pages and then copy TV from database.
    Here is my wayfinder call on parent page:
    [[!Wayfinder? &startId=`342`&level=`2` &rowTpl=`rowTpl2`]]

    Here is my rowtpl :
    <li style="padding: 20px; display: inline-block; vertical-align: top;"><a href="[[+wf.link]]"  [[+wf.attributes]] >
    [[getResourceField:is=``:then=``:else=`<img src="[[getResourceField:phpthumbof=`w=310&h=125&zc=0&q=100`? &id=`[[+id]]` &field=`imagecours` &processTV=`1` &default=`Sorry, no data available`]]"  style="line-height: 12px; width: 310px; height: 125px;margin-right: 10px;"  alt="[[+pagetitle]]" />`? &id=`[[+id]]` &field=`imagecours` &processTV=`1`]]<span style="display: block; text-align: center; width: 310px; min-height: 60px;font-family: 'Roboto Slab', serif;">[[+pagetitle]]</span></a>
    </li>
    

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

      • 19872
      • 1,078 Posts
      No hidden from menu is good. Are all of the children published? Have you viewed the source code to see if the items are there, but just not displaying on screen?
      • To begin with, please upgrade your MODX, at least to the 2.2.15 version. And you did subscribe to the MODX security notifications mailing list, didn't you?

        http://modx.us1.list-manage1.com/subscribe?u=08b25a8de68a29fe03a483720&id=332d3ceb26
          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
        • Is it showing the first three items, or is it skipping some and showing others?
            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
          • Quote from: sottwell at Jun 09, 2015, 03:50 AM
            Is it showing the first three items, or is it skipping some and showing others?
            Yes it shows the first 3 of them.
            I've upgraded to 2.2.16-pl but nothing has changed.
            The weird thing is that i have other parent page where it works perfectly. [ed. note: hartus last edited this post 8 years, 10 months ago.]
            • discuss.answer
              I've recreated all subpages and now it is ok, i've no idea what happened.