I am using SimpleSearch snippet in Modx Revolution CMS for searching webpage content.
Using form like this:
<form class="sisea-search-form" action="[[~[[+landing]]]]" method=get>
<input type="text" name="hledej" id="hledej" value="[[+searchValue:default=`Hledej...`]]" onfocus="if (this.value == 'Hledej...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Hledej...';}" />
Searching on webpage works, except for strings with specials characters like “ěščřžýáá” (different language). Problem is that method get encode pass this character in url like this:
../search-result.html?search=str%25C3%25A1nce&id=13
and find 0 results….
if the search string in url is not encoded (tried to rewrite it manually), it returns some results…
I also tried to use method post, but id doesnt work at all…
Any idea?
It works correctly on different hosting, so problem is probably somewhere else.
I am closing this topic.