Hi David,
Maybe i got a solution for the entitie probem but i cant build it. is it possible to make a standard filter that always apllies to name brand category description
that it checks a lis of entities and then replaces that entitie with the approriate charachter.
like if it is sees &252; that it changes to ü. or if it sees a & that it changes to 'and' or a '/' changes in to a '-'
then the problem would be fixed i think in the forum is see that many have this problem.
plz if someone can fix this that would be you.
Hi,
Have you looked at the option of permitting the & and ; characters during import, so that the entities are imported unmodified; and therefore would show up correctly throughout your site?
To do this, in includes/admin.php, look for the following code, starting at line 158 of the distribution:
/* apply standard filters */
$record[$admin_importFeed["field_name"]] = tapestry_normalise($record[$admin_importFeed["field_name"]]);
You can add a second parameter to the tapestry_normalise() function, being a list of characters to permit; so change the above to:
/* apply standard filters */
$record[$admin_importFeed["field_name"]] = tapestry_normalise($record[$admin_importFeed["field_name"]],"&;");
If this doesn't help, you can also easily insert your own "global" replacements at this point in the code (just before the above section); for example:
$record[$admin_importFeed["field_name"]] = str_replace("&252;","ü",$record[$admin_importFeed["field_name"]]);
$record[$admin_importFeed["field_name"]] = str_replace("/","-",$record[$admin_importFeed["field_name"]]);
You could add as many lines like that as you wish; and they would be applied to every product from every merchant during import.
Hope this helps,
David.