• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

new MYAAC CATEGORY

2057623

Member
Joined
Jan 16, 2012
Messages
135
Reaction score
15
I wanted to know how to add a new category to MYAAC, like here in this image.

1710210235014.png

then I want to create another category instead of the name being "CHAR BAZAAR" it would be 'Events", can anyone help me
 
1) In templates/tibiacom/config.php

Add new entry into menu_categories, like shown here: (The line with 8)
PHP:
$config['menu_categories'] = array(
MENU_CATEGORY_NEWS => array('id' => 'news', 'name' => 'Latest News'),
MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'),
MENU_CATEGORY_COMMUNITY => array('id' => 'community', 'name' => 'Community'),
MENU_CATEGORY_FORUM => array('id' => 'forum', 'name' => 'Forum'),
MENU_CATEGORY_LIBRARY => array('id' => 'library', 'name' => 'Library'),
8 => array('id' => 'events', 'name' => 'Events'),
MENU_CATEGORY_SHOP => array('id' => 'shops', 'name' => 'Shop')
);

2) Then you will need to create images in templates\tibiacom\images\menu

icon-events.gif
plus

label-events.gif

3) The last thing to do is to add menus. You can do that in admin panel.
 

Similar threads

Back
Top