kittmaster Posted December 17, 2005 Share Posted December 17, 2005 All the other sub menus can be reordered by the column_left or by the boxes data. I see that the entire configuration menu list order is done by the database. Is there a contrib or an easy way to find the keys for the config ID value and have it reorder based on what the site operator wants? I can't find anything on this issue anywhere. Anyone? Chris Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted December 17, 2005 Share Posted December 17, 2005 All the other sub menus can be reordered by the column_left or by the boxes data. I see that the entire configuration menu list order is done by the database. Is there a contrib or an easy way to find the keys for the config ID value and have it reorder based on what the site operator wants? I can't find anything on this issue anywhere. Anyone? Chris sure, very easily ... this is the config group table, see the sorting column? DROP TABLE IF EXISTS configuration_group; CREATE TABLE configuration_group ( configuration_group_id int NOT NULL auto_increment, configuration_group_title varchar(64) NOT NULL, configuration_group_description varchar(255) NOT NULL, sort_order int(5) NULL, visible int(1) DEFAULT '1' NULL, PRIMARY KEY (configuration_group_id) ); this is how the config key groups are called in admin/configuration.php $configuration_query = tep_db_query("select configuration_id, configuration_title, configuration_value, use_function from " . TABLE_CONFIGURATION . " where configuration_group_id = '" . (int)$gID . "' order by sort_order"); sorted by the sort order ... on default install, the configuration group id is identical with the sorting INSERT INTO configuration_group VALUES ('1', 'My Store', 'General information about my store', '1', '1'); open phpmyadmin, and just edit sorting :-) :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
kittmaster Posted December 17, 2005 Author Share Posted December 17, 2005 I'll give it a try Thanks!! Link to comment Share on other sites More sharing options...
kittmaster Posted December 17, 2005 Author Share Posted December 17, 2005 Worked perfectly, kind of a PITA, but perfect Thanks for the help Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.