Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

Add zones and zone #364

Closed blacknightt1 closed 1 year ago

blacknightt1 commented 2 years ago

Hello I have another question in this regard Look at the image below

sshot-1

I want to create a new category, I have entered a number of regions in the database with Category number 110, and my problem currently shows undefined, and I want to enter a name for Category number 110, but I don't know in which part

Thank you

blacknightt1 commented 1 year ago

I fixed this problem var g_zone_categories = {

But I still have a problem, when I click on that new name, I enter the 404 page!

sshot-3

Sarjuuk commented 1 year ago

categories are validated against this property https://github.com/Sarjuuk/aowow/blob/master/pages/zones.php#L18 Add ,110 => true to the array.

This validation happens for most (all?) database items.