I am having the hardest time getting this module to work. I have installed it 2 other times just fine, but am now trying to install it for a third time on a new site.
When I try and merge the header_navigation.php file it does not work and makes my header bar disspear. This is what I have for my original php coding:
Code:
<?php
/**
* @package admin
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: header_navigation.php 3089 2006-03-01 18:32:25Z ajeh $
*/
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
?>
<!-- Menu bar #2. -->
<div id="navbar">
<ul class="nde-menu-system" onmouseover="hide_dropdowns('in')" onmouseout="hide_dropdowns('out')">
<?php
require(DIR_WS_BOXES . 'configuration_dhtml.php');
require(DIR_WS_BOXES . 'catalog_dhtml.php');
require(DIR_WS_BOXES . 'modules_dhtml.php');
require(DIR_WS_BOXES . 'customers_dhtml.php');
require(DIR_WS_BOXES . 'taxes_dhtml.php');
require(DIR_WS_BOXES . 'localization_dhtml.php');
require(DIR_WS_BOXES . 'reports_dhtml.php');
require(DIR_WS_BOXES . 'tools_dhtml.php');
require(DIR_WS_BOXES . 'gv_admin_dhtml.php');
require(DIR_WS_BOXES . 'extras_dhtml.php');
?>
</ul>
</div>
How do I merge the new coding which is this:
Code:
if (menu_header_visible('Configuration')) require(DIR_WS_BOXES . 'configuration_dhtml.php');
if (menu_header_visible('Catalog')) require(DIR_WS_BOXES . 'catalog_dhtml.php');
if (menu_header_visible('Modules')) require(DIR_WS_BOXES . 'modules_dhtml.php');
if (menu_header_visible('Customers')) require(DIR_WS_BOXES . 'customers_dhtml.php');
if (menu_header_visible('Taxes')) require(DIR_WS_BOXES . 'taxes_dhtml.php');
if (menu_header_visible('Localization')) require(DIR_WS_BOXES . 'localization_dhtml.php');
if (menu_header_visible('Reports')) require(DIR_WS_BOXES . 'reports_dhtml.php');
if (menu_header_visible('Tools')) require(DIR_WS_BOXES . 'tools_dhtml.php');
if (menu_header_visible('GV_Admin')) require(DIR_WS_BOXES . 'gv_admin_dhtml.php');
if (menu_header_visible('Extras')) require(DIR_WS_BOXES . 'extras_dhtml.php');
Then when I try and add these 2 files, it crashes the admin screen all together to where I am not able to even view the log in screen: admin/includes/functions/DS.Store and admin/includes/functions/admin_profiles.php.
I have insatlled the SQL patch, I did that first. I then started adding each file individually so I could find out which files were causing the problems. I am now not able to view any of the menus when I click under the admin menu. I can't see the layout boxes controller or anything let alone the admin settings.
The site address is http://www.scraps-n-pieces.com/store/
Any help you could give me would be great!
Bookmarks