Post by LDeeJay » Sun Jun 14, 2020 10:05 am

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
Last edited by LDeeJay on Sun Jun 14, 2020 6:42 pm, edited 2 times in total.

Newbie

Posts

Joined
Wed Nov 01, 2017 9:03 pm

Post by letxobnav » Sun Jun 14, 2020 11:39 am

you formally installed the report extension?

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by LDeeJay » Sun Jun 14, 2020 5:31 pm

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.

Newbie

Posts

Joined
Wed Nov 01, 2017 9:03 pm

Post by straightlight » Sun Jun 14, 2020 6:04 pm

This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by letxobnav » Sun Jun 14, 2020 6:24 pm

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.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by LDeeJay » Sun Jun 14, 2020 6:41 pm

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.

Newbie

Posts

Joined
Wed Nov 01, 2017 9:03 pm

Post by arzamk » Wed Mar 17, 2021 2:10 pm

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

Newbie

Posts

Joined
Wed Mar 17, 2021 2:01 pm

Post by sw!tch » Wed Mar 17, 2021 3:52 pm

Check your PHP server error logs.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm
Who is online

Users browsing this forum: mary22evans, paulfeakins and 27 guests