osCmax v2.5 User Manual
Results 1 to 3 of 3

Admin infobox additions

This is a discussion on Admin infobox additions within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I was wondering what are the files necessary to make additions to the infobox. I have added it to the ...

      
  1. #1
    Active Member
    Join Date
    Nov 2004
    Location
    California
    Posts
    158
    Rep Power
    25


    Default Admin infobox additions

    I was wondering what are the files necessary to make additions to the infobox. I have added it to the file access so I can access the files if I type in the url manually but I want to make it easy for me to access the file later.
    yes I did some searches but saw no definitive answer

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    1 out of 1 members found this post helpful.

    Post Re: Admin infobox additions

    There's not an immediately obvious note in the wiki, so...
    An existing small contribution will often provide a clue, similar principles apply to the admin infobox, as does the store one. Looking at, say, catalog/admin/includes/boxes/tools.php

    Code:
                                       tep_admin_files_boxes(FILENAME_SERVER_INFO, BOX_TOOLS_SERVER_INFO, TOP) . 
                                       tep_admin_files_boxes(FILENAME_WHOS_ONLINE, BOX_TOOLS_WHOS_ONLINE, TOP));
    should illustrate the format of entries that appear in the admin Tools infobox.

    To allow for different admin languages, the text is defined elsewhere, eg. catalog/admin/includes/languages/english.php
    Code:
    define('BOX_TOOLS_SERVER_INFO', 'Server Info'); 
    define('BOX_TOOLS_WHOS_ONLINE', 'Who\'s Online');
    Finally. the actual php file to run is normally defined in catalog/admin/includes/filenames.php, for example:

    Code:
      define('FILENAME_SERVER_INFO', 'server_info.php');
    EJ
    Last edited by ridexbuilder; 12-19-2010 at 02:36 PM. Reason: Additional info.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Active Member
    Join Date
    Nov 2004
    Location
    California
    Posts
    158
    Rep Power
    25


    Default Re: Admin infobox additions

    Thank You Thank You!!!
    i for the life of me could not find that last part on filenames.php

Similar Threads

  1. InfoBox Admin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-07-2009, 04:50 AM
  2. Infobox Admin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-20-2008, 07:01 PM
  3. Infobox Admin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-24-2007, 05:30 AM
  4. Infobox Admin
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-23-2007, 11:27 AM

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
  •