Jump to content
TNG Community

Fan chart


Kare

Recommended Posts

I can click on a person’s name in the fan chart to go to the person’s Individual page when 3, 4 or 5 generations are selected. If I increase the number of generations further, clicking on a name in the fan chart does not open the correct person’s Individual page. Anybody who knows what the problem could be? I use template 15 and TNG 11.1.2.

Link to comment
Share on other sites

Kare,

Yes, have noticed this before.  Works through 5 generations. Beyond that you can tell before clicking by the popup box that you are going to select the wrong individual.  It has to do with whenever the size of the fan chart requiring vertical scrolling I suspect.  You don't have a signature (setup on forum upper right username, account settings, signature), so I don't remember what TNG version you are on, but in v.11, the fan chart was integrated as part of TNG. Before that it was a Mod.   I will drop a note on the tngusers list since Darrin reads that list.

Ron

Link to comment
Share on other sites

Kare,

Darrin has already responded and fixed the issue. (for TNG 11.1.2). Here's his response:

Quote

 

The problem comes from the modification I made recently to set the chart width to 100% of the enclosing container when 6 or more generations are displayed. I added that because large charts were being truncated on the right when printed, but I didn't realize that the info boxes would be affected.

I've tweaked it again just now and added the following changes to fan.php, which will be in the next release:

Line 201 changed to:

$width_str = $generations >= 5 && $tngprint ? "width:100%;" : "";

Line 501 changed to:

if ($fan_use_info_box && !$tngprint)

Darrin

 

Note that if you're using TextPlus Charts Mod, the lines #'s to change are slightly different.  

It works great for me!   Thanks for stirring this up; I sort of left it go some time ago, but you got me going on it.

Ron

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...