Sergio Dias
|
I found solution without disabling tooltips. I spent 3 hours to find it. And LOL you just need to replace ONLY ONE CHARACTER!
Open php-script "/templates/<name of your template>/library/Artx/Page.php". Artisteer uses this file for dirty joomla hacks.
Find: case "com_search":
In my case it was on line #152
Now you can see intresting replacement of search button.
$content = preg_replace('/<button name="Search" onclick="this\.form\.submit\(\)" class="btn hasTooltip" title="(\w+)">.*<\/button>/', '<button name="Search" onclick="this.form.submit()" class="button" title="$1">$1</button>', $content);
Pattern of this replacement finds standart joomla search button declaration and replaces it with Artisteer's one. You need to replace "w" to "W" in this part of pattern: title="(\w+)"
Now title part should look like this: title="(\W+)"
In fact w+ works only with standart ANSI English word. If you have non-English button caption or utf-8 encoding W+ expression needed. There should be universal solution but I hate PHP, Perl regular expression and Artisteer developers who makes such kind of mistakes.
|