Forums / All Other Contributions/Addons / Adhoc report addon not appearing in admin/reports menu

Adhoc report addon not appearing in admin/reports menu

Views: 1,069

Results 1 to 4 of 4
18 May 2012, 10:47 AM
#1
mi16chap avatar

mi16chap

New Zenner

Join Date:
Oct 2011
Location:
West Yorkshire - England
Posts:
38
Plugin Contributions:
0

Adhoc report addon not appearing in admin/reports menu

Morning all

I have downloaded and installed the mod found here
http://www.zen-cart.com/downloads.php?do=file&id=950

Which adds 7 new files in the admin folder, and displays the contents of a configured table or view from the zen database.

I have it working nicely if I browse the direct url of the report

https://www.mydomain.com/secretadminarea/adhocall.php

My issue is the mod is not appearing in the reports menu from my admin pages (I need this so my wife can run the report easily without fiddling with URLS)
I found an old closed thread with the exact same problem as me, perhaps v1.5 works differently in how the reports menu is built.
http://www.zen-cart.com/showthread.php?144770-adhoc-reports&highlight=adhoc

Can anyone help me troubleshoot why the report does not appear in menu the list?

18 May 2012, 1:04 PM
#3
mi16chap avatar

mi16chap

New Zenner

Join Date:
Oct 2011
Location:
West Yorkshire - England
Posts:
38
Plugin Contributions:
0

Re: Adhoc report addon not appearing in admin/reports menu

Many thanks - it seems 1.5 has this locked down from being automatically added, something I had not looked at after upgrading from 1.39

The instructions for this mod should now read (going to try submit an updated version to the download section)

Install

  1. BACKUP!

  2. Upload all files in the admin folder

  3. (v1.5 onwards) Login to Admin > Admin access management

  4. Set following values -

    Page key=adhoc
    Page Name=BOX_ADHOC
    Page Filename=FILENAME_ADHOC
    Page Parameters=
    Menu=Reports
    Display on Menu=Ticked
    Sort order=set a number of the sort order you want (6 for a standard unmodified 1.5 zencart)

18 May 2012, 11:01 PM
#4
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Adhoc report addon not appearing in admin/reports menu

mi16chap:

Many thanks - it seems 1.5 has this locked down from being automatically added, something I had not looked at after upgrading from 1.39

The instructions for this mod should now read (going to try submit an updated version to the download section)

Install

  1. BACKUP!
  2. Upload all files in the admin folder
  3. (v1.5 onwards) Login to Admin > Admin access management
  4. Set following values -

Page key=adhoc
Page Name=BOX_ADHOC
Page Filename=FILENAME_ADHOC
Page Parameters=
Menu=Reports
Display on Menu=Ticked
Sort order=set a number of the sort order you want (6 for a standard unmodified 1.5 zencart)This will make it work in 1.5.0
But NOT necessarily WITH 1.5.0
You should also change any gets to posts that affect the database
http://www.zen-cart.com/showthread.php?184616-Question-about-replacing-Get-s-in-addon-code-for-1-5