Hi everyone,
New to the ModX scence and looking for a little bit of help
Essentially what I am trying to do is output a list of documents that have specific TV value.
For example, imagine I have a global TV across all documents with Yes/No.
If the value within a particular document is ’Yes’ (and there are ten pages each selected as yes), then the list would output as 1,2,3,4,5,6,7,8,9,10 or something along those lines. Say 2,3,4 are ’No’ then the list would ouput as 1,5,6,7,8,9,10.
Ideally this would also work vice-versa so I could produce a list of ’No’ documents as well.
Essentially I am trying to make the XML sitemap controllable for my client, allowing them the ability to exclude and include certain pages from their sitemap. I am using gsitemap plugin that the mo, but this only allows me to exclude pages by hard-coding the IDs into the call.
Thanks in advance.
Regards
Craig
P.S - Loving the functionality of Revo. OMG... never new a CMS could be so powerful yet flexible. Great community here as well guys, and I’ll certainly be contributing once I’m up to speed