aniket Posted January 17, 2018 Report Posted January 17, 2018 All i want to do is add a new column and insert its values in db . i have no idea how can i do it. i have tried in zone-edit.php adding this $doZones->newZoneField = '1.5.28'; where newZoneField is the column in my ox_zones. Is there any documentation for this where you have any explanation of the code. Quote
aniket Posted January 19, 2018 Author Report Posted January 19, 2018 FOr any one wanting to know the solution : i added my column name under zones in the below file lib/max/Dal/DataObjects/db_schema.ini at the end i added newZoneField = 2 and was finally able to add the new column value andrewatfornax 1 Quote
stapel_eliz Posted June 27, 2018 Report Posted June 27, 2018 I realize that your post is nearly a year old, but would you be able to clarify what you did? For instance, my "db_schema.ini" file looks pretty vanilla, with the "zones" section containing this: [zones] zoneid = 129 affiliateid = 1 zonename = 130 description = 130 delivery = 129 zonetype = 129 category = 162 width = 129 height = 129 ad_selection = 162 chain = 162 prepend = 162 append = 162 appendtype = 129 forceappend = 2 inventory_forecast_type = 129 comments = 34 cost = 1 cost_type = 1 cost_variable_id = 2 technology_cost = 1 technology_cost_type = 1 updated = 142 block = 129 capping = 129 session_capping = 129 what = 162 rate = 1 pricing = 130 oac_category_id = 1 ext_adselection = 2 show_capped_no_cookie = 129 I see nothing that might be particular to my installation, and I have no idea what is the "meaning" of "newZoneField = 2", and would appreciate clarification, as it may assist in an issue I'm facing. Thank you! Eliz. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.