Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
  • #5137

    I made backup copy of the report.xml file within Change_report folder and modified original. I replaced DOB/DOD with REFN. It works. Now, I’m not sure how to have my report.xml without it being overwritten on each Kiwitrees upgrade.

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

  • #5138

    You can’t, at least not in the way you have described trying.

    You need create a completley new report module by making a clone of the complete “change_report” folder. Give the new folder a new name. You can call it whatever you like. The standard ones use the “_report” in the name just to make it easier to identify them. Make your changes to the report.xml in that new folder.

    You also need to modify your new folder’s “module.php” file to change any references to “change_report” to whatever you call your new folder. Also change the descriptive texts it contains (get_title and get_description) (lines 32, 36, 42)

    Now you will have a new report. It will appear in all the places it should for menus etc, and the new folder won’t be touched by an upgrade (but to be sure, keep a separate backup copy of the new folder).

    Don’t forget you will need to ‘enable’ this new module, and set its Modules>Reports display properties before you will see it.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5139

    By the way, not sure what your purpose in this custom report is, but you are aware of the “Changes log” aren’t you? Administration > Family tree tools > Changes log.

    This shows exactly the same information as the report, but with advantages like:

    • It highlights the actual change made
    • it has a clickable link to the record changed
    • It is sortable
    • It can be filtered by date, status (accepted, rejected, pending), record, user, etc
    • you can export the list
    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5140

    Yes, I do know the Admin change log, it’s what I’ve been using. It tracks a lot of information (good thing!) that for this purpose is too much.

    I’ve restored the original change_report after duplicating it with new name. Am following your steps now to try and see if it all works out.

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

  • #5141

    Success. Your comment in the php file to change the xml file also helped (description).

    Thanks.

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Changes report’ is closed to new replies.