-
☆ A M B ☆
- 1,231 Posts
hey folks, I want to use wayfinder as my sitemap index and I was wonding if there’s a way that I can force registered areas to show up on the sitemap? I noticed that if a page is for registered members only it wouldn’t show up on the sitemap. I would like it to show up, remain for registered members but if you weren’t logged in it would do the usual and say it was for registered members only. Is there a way to do this?
Thanks
-
MODX Staff
- 12,272 Posts
I believe so, but you could confirm by looking at the parameters in the source code or on the wiki.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I do not see a reference to this parameter. There is &ignoreHidden but that does not help with private pages. Ditto has this feature. From what I could tell you would need to hack the wayfinder query to include other document groups. The specific sitemap snippets may have this feature built in.
-
☆ A M B ☆
- 1,231 Posts
Thanks for the replies. I had a look at that piece of the code and couldn’t get the private pages to show still.
do you know what ditto parameters I would have to use to get all of my links to show on one page?
-
☆ A M B ☆
- 24,524 Posts
Use the &display parameter
http://ditto.modxcms.com/files/snippet-ditto-php.html#display
Options
# Any number
”all” All documents found
Default 3