Page 1 of 1

[SOLVED] Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 10:05 am
by LDeeJay
Lectori Salutem,

I've made a custom report, a modified copy of Products Purchased, (controller) and changed the query (model), gave it a new title header (language) and layout (view). All looks well and the report shows up in the permissions under System/Users/User Groups so I've enabled it under Access and Modify permissions. So far so good but the report doesn't show up in the drop-down list under Reports.
I know the report works because when I manually add it in the address bar:

Code: Select all

https://newshop.bricks2spare.com/<removed>/index.php?route=report/report&user_token=[omitted]&code=my_new_report 
it shows the correct report with the correct layout and the correct information. So the report is fine. But how do I make it selectable from the drop down list? I'd expect the title of the report used in the language file to show up there (as do the 'original' reports).

I'm surely missing something .... but what?
Thanks in advance for your time & help.

Tech details:
Opencart Version 3.0.3.2
Mods: Export/Import Tool (V3.22) for OpenCart, Remove Short Description, TMD Custom Tab , [underr] Order Invoice - Images
Layout/Theme: default
URL: newshop.bricks2spare.com (irrelevant)

Kind regards,
Leon

Re: Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 11:39 am
by letxobnav
you formally installed the report extension?

Re: Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 5:31 pm
by LDeeJay
Eeehhhh...... I guess not :-\
How do I do that? I just copied files. I've tried to find documentation on how to create custom reports but it's very scarce.

Re: Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 6:04 pm
by straightlight
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.

Re: Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 6:24 pm
by letxobnav
How do I do that?
as with any extension, you go to extensions->reports
find the report, install and enable.
The extension needs to be in the extension table to show up.

Re: Custom report not showing in drop down list

Posted: Sun Jun 14, 2020 6:41 pm
by LDeeJay
How stupid of me. Indeed it's there. And now it works!
Found it in the docs eventually (installing a mod) just didn't realize it had to be 'installed' since it also shows up automatically in the permissions folder. The docs refer a lot to version 2 (with .tpl's etc) and the links to the DIY mod builder are dead (probably because it's for V2)?
Anyway, problem solved! Thanks.

Re: [SOLVED] Custom report not showing in drop down list

Posted: Wed Mar 17, 2021 2:10 pm
by arzamk
im new to open cart
i placed all the same files at the right places and the extension is showing for installation but as soon as i install it it says internal server error
i reload the page it says installed but it is not then i tried clicking on edit button to enable it but it says HTTP error 500 page isnt working
please can anyone help me
im running it on a local server right now

Re: [SOLVED] Custom report not showing in drop down list

Posted: Wed Mar 17, 2021 3:52 pm
by sw!tch
Check your PHP server error logs.