Wayfinder IncludeDocs parameter in Modx is breaking the snippet -



Wayfinder IncludeDocs parameter in Modx is breaking the snippet -

i'm quite stuck on unexpected problem. i'm trying utilize wayfinder generate sitemap project. output of navigation items expected, need include number of documents in add-on primary navigation elements.

to this, have used includedocs parameter.

[[wayfinder? &startid=`0` &includedocs=`17,18,19,20`]]

when this, no output @ all. remove includedocs , standard nav (expected). utilize param , output empty.

no thought i'm doing wrong or (if any) other setting must defined in order create work.

the includedocs parameter misleading. should rather named "onlyincudedocs" or "restrictto", since does. requires docs include straight accessable startid, alternatively have entire path "included".

i suggest create weblink resources straight under startid, , link them resources want include. way wayfinder pick them default. (note may need handle in rowtpl wayfinder, since weblink stores actual link in it's content field)

if want include children of id's specify, improve of revising resource structure.

modx modx-evolution wayfinder

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -