-
☆ A M B ☆
- 1,231 Posts
@coroico
I understand you now... it will only highlight words within the given area and not include words in the menu or headers if they are not within the frame.
Ross
-
MODX Staff
- 1,535 Posts
@geforcefx: It would appear that this version of AjaxSearch requires the mbstring PHP extension to be enabled on your host. You could contact your host to see if they can enable the mbstring extension for you.
@coroico: Could a check be made to see if the mbstring extension is available before trying to call mb_strlen() seeing as it’s not enabled in PHP by default? Perhaps it could fallback to using strlen() if mb_strlen() is not available.
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
Hello
I was wondering whether there is a way to get AjaxSearch to work with the latest stable Mootools version which is 1.2?
Thank you
I think that AS works with the version of MT available in MODx. I don’t know what would need to change to work with the latest release.
that’s bad news - thanks for replying
@mmjaeger: to migrate AS to the last version of Mootools you need to:
1/ adapt the js code of js/ajaxSearch.js to take into account of the last API
2/ build a new mootools package for AS with the relevant mootools 1.2 functions
3/ define the new location of the mootools library used by AS. See the file snippet.ajaxSearch.php line 300