goring_gap Posted December 2, 2003 Posted December 2, 2003 I want to change the left column menu around in the admin area. More specifically I want to add some categories under the configuration menu. (admin/includes/boxes/configuration.php). So far I have got to the configurations_group_query but now I'm a bit lost. if ($selected_box == 'configuration') { $cfg_groups = ''; $configuration_groups_query = tep_db_query("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order"); while ($configuration_groups = tep_db_fetch_array($configuration_groups_query)) { $cfg_groups .= '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $configuration_groups['cgID'], 'NONSSL') . '" class="menuBoxContentLink">' . $configuration_groups['cgTitle'] . '</a><br>'; } $contents[] = array('text' => $cfg_groups); } $box = new box; echo $box->menuBox($heading, $contents); Can anyone explain how this works and how I might add to the configuration_groups? cheers Simon
Guest Posted December 2, 2003 Posted December 2, 2003 All you need to do is in the database. Have a look at the 2 tables, Configuration and Configuration_group. No need to change any code. Mike
goring_gap Posted December 2, 2003 Author Posted December 2, 2003 That's great. It all seems very easy for the config menu, but what about the other admin categories, catalog..modules...tools etc. I expect I will need to change these at some point. I cannot seem to find the tables that control these? cheers Simon
Recommended Posts
Archived
This topic is now archived and is closed to further replies.