Jump to content
aniket

Add new column for zones

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×