Search Forums
Forums
Kiwitrees on Twitter
    Tags

    updates, mystyle, Batch Updates, links, calendar, 500, 3.3.0, webtrees 1.4.4.1, media, translate, google, design, notes, progress, language, pdf, validation, last change date, upgrade, resources, Extra menus, burial, 3.0.0. setup, default individual, getClientIp, 1939 Register, road map, dates, My Page, translation, colors, MYSQL, tabs, custom, batch update, error, event, descendants, themes, title, installation, backup, children, person, future, index, datatables, css, .mo, GEDCOM, Georgian, dead, duplicates, album, married, merge, fixing errors, date, MAC, session

    Topic:   Changes report  

    This topic contains 4 replies, has 2 voices, and was last updated by macalter macalter 2 years, 1 month ago.

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

      544 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.1"
      PHP 7.0 Fast CGI

      "The Royals 3.3.1"
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 11.0;  Firefox 55.0.3
      [updated: 22 Sep 2017]

      #5138
      kiwi
      kiwi
      Keymaster

      1496 posts

      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
      kiwi
      kiwi
      Keymaster

      1496 posts

      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
      macalter
      macalter
      Participant

      544 posts

      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.

      -----
      Kiwitrees:
      "A-D connections 3.3.1"
      PHP 7.0 Fast CGI

      "The Royals 3.3.1"
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 11.0;  Firefox 55.0.3
      [updated: 22 Sep 2017]

      #5141
      macalter
      macalter
      Participant

      544 posts

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

      Thanks.

      -----
      Kiwitrees:
      "A-D connections 3.3.1"
      PHP 7.0 Fast CGI

      "The Royals 3.3.1"
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 11.0;  Firefox 55.0.3
      [updated: 22 Sep 2017]

    Viewing 5 posts - 1 through 5 (of 5 total)

    You must be logged in to reply to this topic.