If i use:
[[Wayfinder? &startId=`0`]]
things work perfectly well, but what i want to do is limit the menu to three given items 6 8 and 9.
To this end i’ve been trying
[[Wayfinder? &includeDocs=`5,7,8`]]
but this results in following error - any ideas?
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY sc.id ORDER BY sc.menuindex ASC' at line 1 »
SQL: SELECT DISTINCT sc.id, sc.menutitle, sc.pagetitle, sc.introtext, sc.menuindex, sc.published, sc.hidemenu, sc.parent, sc.isfolder, sc.description, sc.alias, sc.longtitle, sc.type,if(sc.type='reference',sc.content,'') as content, sc.template, sc.link_attributes FROM `caye_finance`.modx_site_content sc LEFT JOIN `caye_finance`.modx_document_groups dg ON dg.document = sc.id WHERE sc.published=1 AND sc.deleted=0 AND (sc.privateweb=0) AND sc.hidemenu=0 AND sc.id IN (5,7,8) AND sc.id IN () GROUP BY sc.id ORDER BY sc.menuindex ASC ;
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0047 s (4 Requests)
PHP: 0.0780 s
Total: 0.0827 s