Guest Posted December 4, 2014 Share Posted December 4, 2014 (edited) I have an older report Product Daily Sales (contributor Shriram) from 2007 which I use regularly. The problem I have is that when I use this report, the menus on the left side of the Admin panel no longer display in drop down menus. They display as a list which is quite long. I'm sure it has something to do with js and stylesheets, but I can't figure it out. When I add the line <?php require(DIR_WS_INCLUDES . 'template_top.php'); ?>, to the stats_daily_products_sales_report.php file, the menus display, but the content disappears. Any help would be GREATLY appreciated. osc v 2.3.4 Edited December 4, 2014 by dh180 Quote Link to comment Share on other sites More sharing options...
acidvertigo Posted December 4, 2014 Share Posted December 4, 2014 (edited) If this is an old contrib i think that inside the addon file you should remove these lines on top <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script language="javascript" src="includes/general.js"></script> <script language="JavaScript" src="includes/javascript/spiffyCal/spiffyCal_v2_1.js"></script> <link rel="stylesheet" type="text/css" href="includes/javascript/spiffyCal/spiffyCal_v2_1.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> and remove these lines <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //--> and remove also <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> then add after: require('includes/application_top.php'); require(DIR_WS_INCLUDES . 'template_top.php'); and add to the end before: require(DIR_WS_INCLUDES . 'application_bottom.php'); require(DIR_WS_INCLUDES . 'template_bottom.php'); Edited December 4, 2014 by acidvertigo Quote Link to comment Share on other sites More sharing options...
Guest Posted December 4, 2014 Share Posted December 4, 2014 Thank you, thank you, thank you. I looked for a topic similar and could not find it. Issue resolved! dh acidvertigo 1 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.