We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29802
    • 36 Posts
    This has been wrecking my head so after trying multiple configs, searching here and reading the wiki; I’m resorting to asking.

    As title really; I have a hierarchical folder structure (each folder assigned: rel="category"), containing documents but for the purposes of this exercise, I don’t want documents to be displayed, just folders and sub-folders (down 3 levels) of the parent.

    I don’t want to list all the configs I’ve tried ’cos I’ve forgotten half of them and it would only probably serve to confuse anyway. I’m figuring it’s something really obvious so I stand braced.
      • 4310
      • 2,310 Posts
      Do you mean something like this http://everyschool.co.uk/ ignoring the docs at the bottom level?
        • 7231
        • 4,205 Posts
        This sounds tricky. I don’t think that wayfinder will not load the documents and only load the folders. You may be able to hide the documents with some custom TPLs. Have you tried using an empty tpl for the &rowTpl and &innerRowTpl and then use only a &categoryFoldersTpl so that only these will show.

        [[Wayfinder? &startID=`1` &level=`3` &rowTpl=`empty_chunk` &innerRowTpl=`empty_chunk` &categoryFoldersTpl=`valid_chunk`]]

          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 29802
          • 36 Posts
          My PC died tragically last week (RIP) so apologies for the delay.

          dev_cw:
          Have you tried using an empty tpl for the &rowTpl and &innerRowTpl and then use only a &categoryFoldersTpl so that only these will show.

          I’ve not actually tried declaring the parameters like your example - I shall give it a try once I’ve sorted out my new baby.

          I’ll report back.