Post by idh » Sun Aug 03, 2008 5:42 pm

Hi everyone,

I'd like to add a new admin report like the existing reports under the reports menu e.g. Products Viewed and Products Purchased. But struggling due to the lack of documentation. I've looked at the existing reports and it seems I need to create the following files for my new report:

/admin/controller/report_purchased.php
/admin/language/english/controller/report_purchased.php
/admin/template/default/content/report_purchased.tpl

But I can't figure out how to make the new report appear under the reports menu. Any help appriciated.

Al

idh
Newbie

Posts

Joined
Sun Aug 03, 2008 5:33 pm

Post by bruce » Sun Aug 03, 2008 7:15 pm

admin\template\default\module\menu.tpl
admin\extension\module\menu.php

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by fido-x » Sun Aug 03, 2008 7:39 pm

As well as those mentioned by Bruce, you'll also need this one:
admin/language/english/extension/module/menu.php

Change the "english" to suit your own language.

Regards, Fido-X.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by idh » Mon Aug 04, 2008 12:35 am

thanks bruce and fido-x, will try it out now!

Al

idh
Newbie

Posts

Joined
Sun Aug 03, 2008 5:33 pm
Who is online

Users browsing this forum: No registered users and 6 guests