#1115 Link to Statistics Charts from GEDCOM Statistics Block


The Statistics Charts are currently available (4.2) from "Charts" Menu. It may be nice( and I assume should be very easy) to have a link to statistics.php in the "GEDCOM Statistics" block that appears on the "Welcome page"


  • kiwi_pgv

    Yes , pretty easy. I'm not able to post an update to svn, but a simple version is to add a line immediately before row 215, "$content .= "</table>";" in /blocks/gedcom_stats.php:

    $content .= "<tr><td class=\"facts_value\" colspan=\"3\"><a href=\"".encode_url('statistics.php').">Click here for more analysis on the Statistics Charts</a></td></tr>";

    To do the job properly also needs:
    1 - a language variable to replace that hard-coded text, so it can be translated.
    2 - a configuration option so it can be excluded if you want, as most other sections of the stats here can be.

    • assigned_to: nobody --> wooc
    • status: open --> pending-accepted
  • added in svn 5368

  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 45 days (the time period specified by
    the administrator of this Tracker).

    • status: pending-accepted --> closed-accepted