Antonio Garcia Posted February 5, 2004 Share Posted February 5, 2004 (edited) Are here somebody that are able to carry the 'Admin DHTML Menu in their osCommerce???? I try in both 2.2MS2 and 2.2CVS and it don't work at all....... I think that it should be a good way to get 'more work area' into the admin section... ======= Edited February 13, 2004 by Johnson Quote Link to comment Share on other sites More sharing options...
Antonio Garcia Posted February 12, 2004 Author Share Posted February 12, 2004 Fixed! Only a small error into the intall.txt file (missing a ';')... And only a extra change in file admin/includes/column_left.php 1.- ADD before the first 'require(DIR_WS_BOXES....' this: if (BOX_WIDTH != 0) { 2.- And in the end of the block code,INSERT a single '}' to close the if statement. This desactivate the 'colum left' when the DHTML MENU is activated. Quote Link to comment Share on other sites More sharing options...
Islander2u Posted February 12, 2004 Share Posted February 12, 2004 Which version of OSC were you using? Quote Link to comment Share on other sites More sharing options...
Antonio Garcia Posted February 13, 2004 Author Share Posted February 13, 2004 The 2.2MS2. Quote Link to comment Share on other sites More sharing options...
PopTheTop Posted November 2, 2004 Share Posted November 2, 2004 (edited) I have it added to osC v2.2 MS2 and everything is running great. I even added a new Quick Links menu with a lot more stuff added in there that makes things more easier for me. For better compatibility, the new Quick Links menu draws the menu contents from a separate php file called admin_links.php A screen shot of the new menus are HERE Edited November 2, 2004 by PopTheTop Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
PopTheTop Posted December 25, 2004 Share Posted December 25, 2004 Well, now I need help... My site was working great. Then I added a small contribution (order_number_prefixe_v1.3 - contribution #1601) and now the Admin will not load. I uploaded a FULL backup AND imported my SQL backup twice. The store works fine at http://www.popthetop.com/catalog/index.php but the Admin will not load. I can load the main Admin index page with all the links and order status, but if I click on Configuration, Backup, Orders, or anything in the Admin, all I get is this... Warning: main(includes/boxes/0): failed to open stream: No such file or directory in /home/popthet/public_html/catalog/admin/includes/header_navigation.php on line 30 Fatal error: main(): Failed opening required 'includes/boxes/0' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/popthet/public_html/catalog/admin/includes/header_navigation.php on line 30 Line 30 is: foreach($box_files_list as $item_menu) require(DIR_WS_BOXES. $item_menu[1] ); Here is the whole header_navigation.php file: <?php /* $Id: header_navigation.php,v 1.19 2003/04/27 16:11:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License Updated by Gnidhal ([email protected]) */ $menu_dhtml = MENU_DHTML; $box_files_list = array( array('configuration' , 'configuration.php', BOX_HEADING_CONFIGURATION), array('catalog' , 'catalog.php', BOX_HEADING_CATALOG), array('modules' , 'modules.php' , BOX_HEADING_MODULES), array('customers' , 'customers.php' , BOX_HEADING_CUSTOMERS), array('taxes' , 'taxes.php' , BOX_HEADING_LOCATION_AND_TAXES), array('localization' , 'localization.php' , BOX_HEADING_LOCALIZATION), array('reports' , 'reports.php' , BOX_HEADING_REPORTS), array('tools' , 'tools.php' , BOX_HEADING_TOOLS), array('quicklinks' , 'quicklinks.php' , 'Quick Links') ); echo '<!-- Menu Bar START --><div class="menuBar" style="width:100%;">'; foreach($box_files_list as $item_menu) { echo "<a class=\"menuButton\" href=\"\" onclick=\"return buttonClick(event, '".$item_menu[0]."Menu');\" onmouseover=\"buttonMouseover(event, '".$item_menu[0]."Menu');\">".$item_menu[2]."</a>"; } echo "</div><!-- Menu Bar END -->"; foreach($box_files_list as $item_menu) require(DIR_WS_BOXES. $item_menu[1] ); ?> Can anyone help me please??? Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
PopTheTop Posted December 26, 2004 Share Posted December 26, 2004 Anyone? I really need to get this fixed. Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
PopTheTop Posted December 26, 2004 Share Posted December 26, 2004 I did notice that when this error started to happen, PHP on the server was upgraded to PHP Version 4.3.10. I do not know if this means anything or if it is just a coincidence. Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
PopTheTop Posted March 16, 2005 Share Posted March 16, 2005 Just an added update... I have no idea what happened, but everything is working and has been since the following day of my last post. I love this contribution SO MUCH and makes life so much easier for the Admin! Quote L8r, PopTheTop Published osC Contributions: - eCheck Payment Module v3.1 - Reviews in Product Display v2.0 - Fancier Invoice & Packingslip v6.1 - Admin Notes / Customer Notes v2.2 - Customer Zip & State Validation v2.2 - Search Box with Dropdown Category Menu v1.0 Pop your camper's top today! It's a popup thing... You wouldn't understand Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2005 Share Posted March 16, 2005 I have no idea what happened, but everything is working and has been since the following day of my last post. <{POST_SNAPBACK}> They probably didn't upgrade the zendoptimizer version right away, it needs to be upgraded together with the upgrade to PHP 4.3.10 (else there will be problems with some array's) Quote Link to comment Share on other sites More sharing options...
ansemax Posted May 17, 2005 Share Posted May 17, 2005 I have a little problem..... i've installed Autotheme lite 0.81 and Admin DHTML menu 2.1 .... when i click on Autotheme ... colum left appears! I' think because in file /boxes/autotheme.php there isn't : if ($selected_box == 'autotheme' || $menu_dhtml == true) Infact the file autotheme.php is: <!-- AutoTheme //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_AUTOTHEME, 'link' => tep_href_link(FILENAME_AUTOTHEME)); $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- AutoTheme_eof //--> what can i do? Quote Link to comment Share on other sites More sharing options...
mortal Posted August 7, 2005 Share Posted August 7, 2005 Could someone please tell me how to make a active color for the dropdownmenu so in i click tools dorpdown and select backup, the tools button would change color as long as i am in downloads ? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2005 Share Posted September 11, 2005 I recantly installed Admin DHTML menu and I work well except one thing. I try to get Header Tags Controller installed in the menu. When I check the menu in the browser I get the title Header Tags Controller but nothing happens when I move the cursor over the title. $menu_dhtml = MENU_DHTML; $box_files_list = array( array('configuration' , 'configuration.php', BOX_HEADING_CONFIGURATION), array('catalog' , 'catalog.php', BOX_HEADING_CATALOG), array('modules' , 'modules.php' , BOX_HEADING_MODULES), array('customers' , 'customers.php' , BOX_HEADING_CUSTOMERS), array('taxes' , 'taxes.php' , BOX_HEADING_LOCATION_AND_TAXES), array('localization' , 'localization.php' , BOX_HEADING_LOCALIZATION), array('reports' , 'reports.php' , BOX_HEADING_REPORTS), array('tools' , 'tools.php' , BOX_HEADING_TOOLS), array('headertags' ,'header_tags_controller.php' , BOX_HEADING_HEADER_TAGS_CONTROLLER) ); echo '<!-- Menu bar #2. --> <div class="menuBar" style="width:100%;">'; foreach($box_files_list as $item_menu) { echo "<a class=\"menuButton\" href=\"\" onclick=\"return buttonClick(event, '".$item_menu[0]."Menu');\" onmouseover=\"buttonMouseover(event, '".$item_menu[0]."Menu');\">".$item_menu[2]."</a>"; } echo "</div>"; foreach($box_files_list as $item_menu) require(DIR_WS_BOXES. $item_menu[1] ); ?> I can't see the problem. //Henke Quote Link to comment Share on other sites More sharing options...
sgreiner Posted September 11, 2005 Share Posted September 11, 2005 Change: array('headertags' , 'header_tags_controller.php' , BOX_HEADING_HEADER_TAGS_CONTROLLER), TO array('header tags' , 'header_tags_controller.php' , BOX_HEADING_HEADER_TAGS_CONTROLLER), added a space in "header tags" Quote "There is no doubt about precisely when folks began racing each other in automobiles. It was the day they built the second automobile." - Richard Petty Link to comment Share on other sites More sharing options...
gty Posted November 21, 2005 Share Posted November 21, 2005 Great contribution only issue I am having is linking the credit and gift vouchers. when I move my mouse over the credit and class link nothing happens.same issue as above. array('gift voucher' , 'gv_admin.php' , BOX_HEADING_GV_ADMIN), this is what last tried before asking for assistance. I have tried a wide variety of array .i have tried : vouchers/coupons vouchers / coupons vouchers/ coupons vouchers /coupons voucherscoupons vouchers coupons gift credit credit class and so on probably 20 plus differnet variations. Could some body shed some light on this for me? thanks! Quote Link to comment Share on other sites More sharing options...
kittmaster Posted December 9, 2005 Share Posted December 9, 2005 Great contribution only issue I am having is linking the credit and gift vouchers. when I move my mouse over the credit and class link nothing happens.same issue as above. array('gift voucher' , 'gv_admin.php' , BOX_HEADING_GV_ADMIN), this is what last tried before asking for assistance. I have tried a wide variety of array .i have tried : vouchers/coupons vouchers / coupons vouchers/ coupons vouchers /coupons voucherscoupons vouchers coupons gift credit credit class and so on probably 20 plus differnet variations. Could some body shed some light on this for me? thanks! Having the same issue with mine as well......... Quote Link to comment Share on other sites More sharing options...
kittmaster Posted December 9, 2005 Share Posted December 9, 2005 I found the fix for any contrib to work with this mod........use my code below for an example........someone should make this a sticky. This change is made is the catalog\admin\includes\header_navigation.php as needed for each contrib that is not being listed in the menu that you KNOW should be there i.e vouchers, vendor list........etc etc. (Typically mods that did NOT come with the vanilla cart) If the "BOX_HEADING_XXXXX" is set up correctly in the database (based on how the author wrote it), then the proper name of the link should be displayed within the DHTML menu system. If the "BOX_HEADING_XXXXX" is NOT set up correctly in the database, then the name of the link can be displayed by replacing "BOX_HEADING_XXXXX" with "WHATEVERNAMEYOUDECIDETOCALLIT" Just make sure that the double quotes (") are left in tact or else it will create a parse error. Greets, Chris $box_files_list = array( array('catalog' , 'catalog.php', BOX_HEADING_CATALOG), array('configuration' , 'configuration.php', BOX_HEADING_CONFIGURATION), array('customers' , 'customers.php' , BOX_HEADING_CUSTOMERS), array('Returns' , 'returns.php' , BOX_RETURNS_HEADING), array('gv_admin' , 'gv_admin.php' , 'Gifts/Vouchers'), array('localization' , 'localization.php' , BOX_HEADING_LOCALIZATION), array('taxes' , 'taxes.php' , BOX_HEADING_LOCATION_AND_TAXES), array('modules' , 'modules.php' , BOX_HEADING_MODULES), array('reports' , 'reports.php' , BOX_HEADING_REPORTS), array('ticket' , 'ticket.php' , 'Support Tickets'), array('tools' , 'tools.php' , BOX_HEADING_TOOLS), array('Vendors' , 'vendors.php' , 'Vendors'), ); Quote Link to comment Share on other sites More sharing options...
valerka1 Posted February 13, 2007 Share Posted February 13, 2007 Fatal error: Call to undefined function: tep_admin_check_boxes() in w:\home\test3.com\www\admin\includes\header_navigation.php on line 17 osc-2.2ms2-060817+admin_dhtml_menu_v2.1_1 How to correct? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.