We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    Trying to setup the blog features in modx.... running across something odd I havn’t found an answer for:

    Adding a latest posts to my homepage using:
    [[!getResources? 
      &parents=`2`
      &hideContainers=`1`
      &tpl=`latestPostsTpl`
      &limit=`5`
      &sortby=`publishedon`
    ]]
    


    Only appears to work if blog posts are NOT hidden from menus. However they have to be for wayfinder to show the "blog" category in it’s top level menu and not every post!

    So what is correct? Hidden or not hidden? if it’s hidden then how is the getResources tag supposed to work, if it is not hidden, then what about wayfinder?

    -thanks
    -sean
      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 22840
      • 1,572 Posts
      Hide them from the menu and add the following to your call.

      &showHidden=`true`
        • 26503
        • 620 Posts
        thanks - that works ....
          *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

          Sean Kimball CLP, CLS.
          Technical Director / Sr. Developer | BigBlock Studios
          ._______________________________________________.
          Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
          27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
          phone/fax: 905-426-5525