Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page:
  • 1

TOPIC:

Nick Names in Hourglass Chart 1 week 6 days ago #1

  • phalvo
  • phalvo's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 2
One of my users liked seeing the nick names in the hourglass chart. I'm not requesting the change to be made, but I'm curious how the boxes are populated?

I thought I had tracked it down to somewhere in "webtrees/app/Individual.php" but couldn't figure out where.

Can someone let me know where the names are generated for the boxes in the hourglass chart?

Please Log in or Create an account to join the conversation.

Nick Names in Hourglass Chart 1 week 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13364
The same "chart box" code is used for *all* charts.

It is difficult to change it for just the hourglass chart.

The chart-box name is generated here:

github.com/fisharebest/webtrees/blob/2.0...-box.phtml#L135-L141

The hourglass chart is generated here

github.com/fisharebest/webtrees/tree/2.0...ules/hourglass-chart
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Nick Names in Hourglass Chart 1 week 6 days ago #3

  • phalvo
  • phalvo's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 2
Thank you for the quick reply, this helps a bunch. It makes sense the way you did it, we'll see if I can help out my mother-in-law :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum