Hello David,
I get al the strange signs before the categories at category hierarchie.
┬ New
├── Auto's
│ └── Auto-accessoires
│ │ ├── Aanhangeronderdelen
Is it possible to change this?
Thanks Jan Roel
Hello Jan,
Thanks - I'll address this in the distribution, it is because your site is using a character set other than utf-8, and the characters used to display the hierarchy tree are specific to the utf-8 character set.
One option is to override the configuration and use /admin/ in utf-8. To do this, edit admin/admin_header.php and look for the following code at line 2:
header("Content-Type: text/html;charset=".$config_charset);
...and REPLACE with:
header("Content-Type: text/html;charset=utf-8");
The downside of forcing utf-8 would be that the feed registration and imported analysis may not show characters in your configured character set correctly. As an alternative therefore, the utf-8 line drawing characters used by html/categories_hierarchy.php could be replaced with ASCII characters instead. To do this, look for the following code at line 105:
print "│ ";
...and REPLACE with:
print "| ";
Then look for the following code at line 108:
print ($counts[$depth]?"├":"└")."── ";
...and REPLACE with:
print ($counts[$depth]?"-":"-")."── ";
I will look at an alternative layout for the hierarchy that does not depend on the configured characters set - thanks for bringing this to my attention.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com