Results 1 to 10 of 1238

Threaded View

  1. #10
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    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!
    Last edited by lauriesscraps; 30 Jun 2011 at 01:55 AM.

 

 

Similar Threads

  1. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  2. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  3. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR