Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello ! I installed XSLTsearch on my Umbraco v6.1.3 and it's working fine if i use a nodeid.
It's not working for the whole website when i have :
It's not a problem for me but if someone has a clue...
You are correct, there is a new bug in Umbraco that means you must specify the source= parameter. You can't currently leave it blank.
You can use source="-1", but by default XSLTsearch is configured to only search within the part of the content tree that contains the search page and not, literally, every page in the umbraco installation. This is the ideal setting for multi-lingual sites, for instance.
This behaviour is easily changed, though, if you truly want to search every page no matter where it is. Open the /xslt/xsltsearch.xslt file and search for:
<!-- searches absolutely all pages (useful if you want to search multiple sites at once,
or if you do not have all your content pages below a common homepage node in the content tree)
<xsl:with-param name="items" select="umbraco.library:GetXmlAll()/*"/>
<!-- searches all pages within a specific site (useful if you have multiple sites in one umbraco installation) -->
<xsl:with-param name="items" select="$currentPage/ancestor-or-self::* [@level = '1']"/>
Change the comment to enable searching everything with the GetXmlAll() function and disable searching only within the $currentPage/ancestor-or-self.
Thanks a lot !
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted