Coroico / AdvSearch

Dynamic content search add-on for MODx Revolution that supports results highlighting, faceted search and search in custom packages
21 stars 14 forks source link

&ids not working with Articles #39

Closed mewolari closed 11 years ago

mewolari commented 11 years ago

I've added to my website:

[[!AdvSearch? &ids=1,16 ]]

ID 16 is the articles container.

AdvSearch is not able to search inside Articles when using &ids.

When I remove "&ids=1,16" everything is working fine, but I'm not able to hide certain pages from the searchresults.

1,16 is placed between `, but not displayed on github.

Coroico commented 11 years ago

&ids: Comma-delimited list of ids to search in.

Use GetIds ( http://modx.com/extras/package/getids) addon to specify complex list of ids.

[[!AdvSearch? &ids=[[!GetIds? &ids=1,c16]] ]]

And Yes, as Articles is a custom resource, probably AdvSearch doesn't search inside. Never tested.

mewolari commented 11 years ago

Now everything is working fine.

Thanks.

Glidias commented 11 years ago

Could state that the plugin isn't included by default and needs to be downloaded seperately in RTFM, otherwise one may assume it was already included....