I have modified my earlier fix for all main-menu UTF-8 and separation problem. I found out that I didn't have to write the whole string splitting function again, just use the
explode function, that is utf-8 compliant.
I am now working on a veranda template, but probably works ok in all other IT menu, that uses the same method for splitting the menu item name.
So please around line 296 in helper.php, add this line:
| Code: |
$var = explode('|', $item->name, 2);
|
*AFTER* the previous $var declaration, so you can see something like this:
| Code: |
$var = str_word_count($item->name, 1,'123456789!@#$%^&*()?><');
$var = explode('|', $item->name, 2);
|
It will make your string split at the first pipe char (|).
It's seems stupid I know to override the same array but commenting out the first line drops an error. This way worked me excellent.
I can send you a helper.zip by mail upon request (feovenyessy at gmail dot com)
cheers