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 5 months 4 days 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 5 months 4 days ago #66170

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7883
  • Thank you received: 1221
  • Karma: 286
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.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Time to create page: 0.045 seconds
Powered by Kunena Forum