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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...