Hi David,
Was just checking the database backup/restore utility and noticed it doesn't seem to pick up on any extra import fields added to the tables. Where would I need to add those fields for the backup/restore to use them?
thanks
J
I've got 11/09A, thats the latest isn't it?
Can't find any mention of the fieldset array in database_tool.php
regards,
Jay
Hi Jay,
Should be lines 30-33 - reference to $config_fieldSet...
I'll email you the latest distribution version also.
Cheers,
David.
--
PriceTapestry.com
Hi,
For the latest distribution, the Database Tool should automatically pick up extra fields from the $config_fieldSet array, otherwise, for use with the original distribution look for the following code starting at line 37 in admin/database_tool.php:
$fields["feeds"][] = "field_name";
$fields["feeds"][] = "field_description";
$fields["feeds"][] = "field_image_url";
$fields["feeds"][] = "field_buy_url";
$fields["feeds"][] = "field_price";
$fields["feeds"][] = "field_category";
$fields["feeds"][] = "field_brand";
...and simply copy / extend the array for any additional fields you have added, for example:
$fields["feeds"][] = "field_shipping";
Hope this helps!
Cheers,
David.
--
PriceTapestry.com