I notice in Version 3.0.1 on Umbraco 4.7 that when source is set to whole site (0 or 1), you've stopped using GetXmlAll() and are including only items with level 1.
Why is this? I have a site that's got 2 root nodes, the 2nd has a deep-ish heirarchy of pages beneath it which should be included and aren't with this latest version.
What are the ramifications of uncommenting the GetXmlAll() code, it seems to work.?
The goal with the change was that when having multiple sites in one umbraco installation (for instance a blog and a www site; or multiple languages with an english, french, german, arabic, etc language sites), that XSLTsearch would only search within that site by default. This is the most common scenario.
But for when you want to search absolutely everything in the scenario you describe you should find the GetXmlAll() and comment out the one line in favor of the other in the xsltsearch.xslt file. The comments will indicate which lines.
Why not GetXmlAll()?
I notice in Version 3.0.1 on Umbraco 4.7 that when source is set to whole site (0 or 1), you've stopped using GetXmlAll() and are including only items with level 1.
Why is this? I have a site that's got 2 root nodes, the 2nd has a deep-ish heirarchy of pages beneath it which should be included and aren't with this latest version.
What are the ramifications of uncommenting the GetXmlAll() code, it seems to work.?
Thanks for a fantastic package Doug.
The goal with the change was that when having multiple sites in one umbraco installation (for instance a blog and a www site; or multiple languages with an english, french, german, arabic, etc language sites), that XSLTsearch would only search within that site by default. This is the most common scenario.
But for when you want to search absolutely everything in the scenario you describe you should find the GetXmlAll() and comment out the one line in favor of the other in the xsltsearch.xslt file. The comments will indicate which lines.
cheers,
doug.
OK, thanks for the quick reply Doug.
is working on a reply...