View Full Version : adding extra custom fields
December 19th, 2004, 10:45 AM
I'm sure I saw a thread on this subject a while ago, but now I can't find it.
I'd like to add more custom fields to a particular category. Is anyone able to point me in the right direction please?
December 20th, 2004, 07:06 PM
I figured it out. If anyone else wants to know:
* Photopost classifieds already provides 6 extra custom fields which can be allocated when editing categories in the admin panel.
* in MYSQL see pp_categories and pp_products tables. You will see rows extra1-extra6. I needed 30 extra custom fields altogether, so I added rows extra7-extra30 to both tables.
* I searched for every occurance of "extra6" and added in extra7-extra30 in the following files: admin-cat.php, showproduct.php, uploadproduct.php, editproduct.php.....I also had to adjust the templates for each of these pages, to hold the extra fields.
December 24th, 2004, 03:34 AM
One thing I would like to see is some flexibility in adding some extra fields.
Menu selections come to mind, as well as radio buttons. This would allow us to add criteria selections for items being sold with such options as "Free Shipping?" And give the ad poster the ability to select "Yes" or "No" to let a prospective customer know what is being offered.
December 24th, 2004, 03:53 AM
This may be what you're looking for:
Add drop down selections to upload page http://www.photopostdev.com/showthread.php?t=619
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.