1 Apr 2010, 11:30 PM
New Zenner
- Join Date:
- Mar 2005
- Location:
- Uzerche, France
- Posts:
- 9
- Plugin Contributions:
- 0
Easy Populate 1.2.5.7b.csv : how to update category name
In the current version 1.2.5.7b, it is not possible to update the category name, specially with lowercase uppercase.
I propose a solution, around line 1710 in admin/easypopulate.php.
Just after $thiscategoryid = $row['catID'];
add these lines :
// BOF Update category name
$sql = "UPDATE ".TABLE_CATEGORIES_DESCRIPTION." SET
language_id = '$epdlanguage_id',
categories_name = '".zen_db_input($thiscategoryname)."'
WHERE ( categories_id = '". $thiscategoryid . "' )" ;
$result = ep_query($sql);
// EOF Update category name
It's OK for me !
Try and say...
Bertrand