Hi Everyone
Quick question.
Is it possible to set ditto to exclude weblinks that are placed in the Modx folder (so the weblinks show in wayfinder sub-menu) but are excluded from the main product listing of the pages that are also in this folder
Hope that makes sense
hi,
the easiest way would be to add the where param to your call
&where=`type=’document’`
but the = sign will fail in the eval snippet function
otherwise add a filter for this pupose
&filter=`type,document,1`
:-)
is this for ditto 2?
thanks, oddly enough I needed this info today, for the google sitemap with ditto project
http://webbake.com/tutorials/modx-cms/google-sitemap-with-ditto
&filter=`type,document,1` should work in Ditto 2.
it worked in ditto 1, thanks
I edited the guide to reflect this new information, I had to filter weblink, because they don’t have TVs, and thus they could not output a priority, so Google was freakin’ out about it.
Cool, thanks guys, worked a treat