Seiya Posted January 4, 2013 Share Posted January 4, 2013 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! 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 4, 2013 Share Posted January 4, 2013 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 0 Quote Link to comment Share on other sites More sharing options...
Seiya Posted January 5, 2013 Author Share Posted January 5, 2013 Create a script to move / remove those you don't want - just rerun the script after upgradesYou 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. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 6, 2013 Share Posted January 6, 2013 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.