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
I've setup XSLTsearch and it works perfect! I only have one issue with the search and previewing the last word. For instance I have 'Fjeldsted' as the last word on one page. But the preview just shows me the first characters of the page. If I add text after the word so it isn't the last word any more the preview works fine. Is it my setup or a bug? If its my setup what am I doing wrong?
Thanks in advance.
Its even the same on XSLTsearchs own website: http://www.percipientstudios.com/search.aspx?search=today!&submit.x=0&submit.y=0If you put just to words after ie. "Fjeldsted one two" it works with the preview.
Bump, anything or anyone?
Thanks for the bug report! Seems that faulty logic has been there for a long time and you're the first to notice.
For anyone else who finds this, the issue only appears when:
The solution in XSLTsearch 3.0.1 is to change line 165 of the /app_code/xsltsearch.cs file (in the contextOfFind() function) from:
string remaining = data;
string remaining = data + " ";
I'll include the fix in the next version of XSLTsearch.
Thanks for the reply, my client will be happy - couldn't seem to fix the error myself :)
Im still having problems with this. I've updated my XSLTsearch to the newest version and changed string remaining = data + " "; But the problem still appears. Do you have any idea why? Other fixes? Hehe.
That should work. Have you got a link where I can see it in action? (if a not-for-public-consumption site, you can use my contact form to send me the link privately at http://www.percipientstudios.com/about/contact.aspx)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted