Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Custom changes to AOR_Report.php

Custom changes to AOR_Report.php 2 months 3 weeks ago #66140

  • Mijalkovic
  • Mijalkovic's Avatar
  • Offline
  • Senior Member
  • Posts: 73
  • Thank you received: 9
  • Karma: 1
I don't know why but I am not able to extend AOR with my custom code and make it upgrade safe.

So I have created a copy of AOR_Report.php in custom/modules/AOR_Reports/AOR_Report.php
In this file I have added this at the beginning:

require_once('modules/AOR_Reports/AOR_Report.php');
class CustomAOR_Report extends AOR_Report

...and latter in the code I did my custom changes..

After doing Repair&Rebuild my changes are not being executed.

And if I change the original file (inside modules/AOR_Reports) with my custom changes it is being executed.

Where did I make a mistake?

Thanks...
The administrator has disabled public write access.

Custom changes to AOR_Report.php 2 months 3 weeks ago #66170

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7033
  • Thank you received: 1075
  • Karma: 250
Not all files in SuiteCRM are really ready to be customized like that.

That one seems to be referenced only here:
include/modules.php

Line 413 on my 7.10.4 system.
The administrator has disabled public write access.
Time to create page: 0.100 seconds
Powered by Kunena Forum