Jump to content

Possible to disable individual reports?


Seiya

Recommended Posts

With the large number of reports and confusing layout in the V4 template I'd like to be able to disable certain reports as we don't use half of them.

 

I know that I can just move the 'modules/reports/reportname.php' file into a new subfolder and they won't show but this doesn't seem like a good solution long term as upgrades will bring them back. Has anyone got a better solution?

 

Cheers!

Link to comment
Share on other sites

Create a script to move / remove those you don't want - just rerun the script after upgrades

You should also do that for gateways and registrars and templates

 

Thanks Rob, I'm always trying to prevent having to remember to run any scripts during upgrades - especially with auto-updates being released in the next version, but I agree this is the best solution for now. Cheers.

Link to comment
Share on other sites

You could even just create a cron task to run once per day (or however often you want) to check for the existence of whatever files/folders that you want to remove and automatically either move or delete them if found. That way, even with automatic upgrades of WHMCS, they'd be removed when your task is next run.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated