Results 1 to 3 of 3

Trouble adding new report

This is a discussion on Trouble adding new report within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; I downloaded a LOW STOCK LEVEL REPORT from the contributions site for OSC 2.2-MS2. I know that the Max version ...

      
  1. #1
    Anonymous
    Guest


    Default Trouble adding new report

    I downloaded a LOW STOCK LEVEL REPORT from the contributions site for OSC 2.2-MS2. I know that the Max version does things a bit differently, but I followed the instructions for the contribution and then changed them to match the reports that already exist in Max, but the report refuses to list in the Report menu.

    If I change the line
    tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS, BOX_REPORTS_ORDERS_TOTAL) .

    to

    tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS, BOX_REPORTS_LOW_STOCK);

    the report title shows up in the menu, the the URL points to the report for Customer Orders, which tends to suggest that there is something wrong with the Low Stock Level filename. I have made sure that the entry exists in filenames.php

    define('FILENAME_STATS_LOW_STOCK', 'stats_low_stock.php');

    and all other areas (english.php and index.php) where the Customer Orders shows up but still no dice. And I have also made sure that stats_low_stock.php resides everywhere stats_customer.php resides \catalog\admin and \catalog\admin\includes\languages\english.

    Has anyone installed this contrib on Max and if so, did you get it to work and how?

    Thanks

    SiRiC

  2. #2
    Anonymous
    Guest


    Default

    I had the same problem with a different report. I found I had to go under "file access" in the administrator menu, click on "reports", then click the "store files" button. This gave me a drop down menu, where I was able to select the name of the report (in my case stats_sales_report.php). After that it showed up in the reports menu. I'm new to MS2-MAX, and don't really understand the Administrator menu yet, but that's what worked for me.

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    Kevin, that is how the permissions system works. Each new section of the admin has to be assigned a palce/permission or it is inaccessable. That is what allows multiple group levels, so you can have admin, data entry, etc. It allows a lot of control over who can use what.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Sales Tax identification report
    By josemanuel in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 12-26-2006, 07:47 PM
  2. Help hacking in the 'sales report' contrib
    By groggory in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 05-10-2005, 08:32 AM
  3. Bug report 1147
    By razz2 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-22-2005, 02:13 PM
  4. report heading and footer - how to remove
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-02-2004, 03:48 AM
  5. Stock Report
    By siric in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-17-2003, 06:10 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
  •