I copied and renamed brands.php to models.php and changed all "brand" to "models" in the code. But I got a blank page (besides the heading). How can I get all models on the same page like the brands or categories page. I cannot use these 2 for this purpose.
Hello David
Couldn't respond earlier. Been very busy.
I added a new field in the products table.
Added: field("models","fieldModels");
to: feeds_register_step2.php
and imported the feed, but he is not writing to the new column "Models"
Off course the new models.php is blank.
Regards,
John
Hi John,
Can you double check your modifications in includes/admin.php as this is the critical area for adding a new field. If you still don't have any success loading the "models" field, feel free to email me a copy of the modified files and i'll check it over for you. Reply to your reg code or forum registration email is the easiest way to get me...
Cheers,
David.
Hi John,
Assuming that you have already added a new field "model" to your database, if you have used the singular "model" as the field name, make sure this is what you have used through the change instead of "models"...
The next step is to check the SQL that is being generated in your new models.php, and perhaps print it out to check that it looks correct. Then, if you are using something like phpMyAdmin you can enter the SQL directly into the SQL form to check that the results are what you are expecting - alternatively you may see an error message that helps indicate what's going on...
Cheers,
David.