mjaro 0 Report post Posted February 25 29 minutes ago, Ken Roy said: Sorry but I was not looking at the fact that Ron wants a different capability. If the Edit Option is to support a Compact view, then the Edit Option needs to be reworded to indicate that it is for those users who want an Compact view rather than a full chart view The code check whether to use the default images would also need to be done the same way as Darrin does it in globallib.php !empty($tngconfig['usedefthumbs']) Thank you Ken! I'll use it in my code and modify the description. Michał Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 *rephrased* Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 Ken, Ok, but it's not really worded wrong, it does what it indicates; display or not display thumbs (for all persons), and a page menu option permits overriding, with one connection search, that setting. The other capability is what the TNG media setting does, either does or doesn't display a 'dummy' image only for persons where no actual image exists. That said, calling it compact in Edit Options is probably better, since it is like TNG's other compact charts (and why I have been calling it since first requesting it). Sorry for being lengthy in explaining. Quote Share this post Link to post Share on other sites
klooster 0 Report post Posted February 25 Oké Michael, slashes shorter max paths: #maxR, color #000000 and width: 9ch /* START TNG MOD SEARCH CONNECTIONS */#pathlist .slashes { font-size: 0.6em; } .paths { background-color: #F4EFDA ;} #maxR { color: #000000 ; width: 9ch ; } .pers { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 14px ; color: #000000 ; line-height: 1.4 ; font-weight: 400 ; background-color: #FFF6CA ; } .pers a:link { color: #000000 ; } div.spantxt { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 14px ; font-size: 16px ; color: #000000 ; background-color: #E8D9B0 ; } .spantxt a:link { font-size: 17px ; color: #000000 ; } /* END TNG MOD SEARCH CONNECTIONS */ Example Kloosterman CSS Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 49 minutes ago, tngrlkrz said: but it's not really worded wrong, it does what it indicates; display or not display thumbs (for all persons), and a page menu option permits overriding, with one connection search, that setting. Ron, Maybe it is not worded incorrectly, but your issue with the TNG default images showing a shadow only occurs if users change this option to false. I do not think the other TNG charts offer an option to display the default photo or not, so some place it needs to be documented that this option is to provide the same capability as the Compact Ancestor or Descendant charts. To me it is not obvious that the option is to create a Compact connection view Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 28 minutes ago, Ken Roy said: TNG default images showing a shadow only occurs if users change this option to false I agree the problem only arises if users change the standard TNG option of Admin:Media:Show Default Thumbs 'to 'No', then the mod displays bar and shadows. And yes, the Edit Option stating it as 'compact' is OK since the entire chart is impacted, rather than just some boxes. Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 Michal, Maybe just change the Edit Option to show Quote Choose whether to display a thumbnail preceding the name in boxes. If true, display standard charts. If false display compact charts. The default is (true) or something similar. Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted February 25 5 minutes ago, Ken Roy said: Michal, Maybe just change the Edit Option to show or something similar. I've also added: Note: if TNG option <em>Admin:Media:Show Default Thumbs</em> is set to 'No', the thumbnail display option is <b>forced to false</b> independent of the value set here. (please correct if my English is too bad) Thx, Michał Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted February 25 1 hour ago, klooster said: Oké Michael, 👍 Quote Share this post Link to post Share on other sites
theKiwi 0 Report post Posted February 25 56 minutes ago, tngrlkrz said: I agree the problem only arises if users change the standard TNG option of Admin:Media:Show Default Thumbs 'to 'No', then the mod displays bar and shadows. Except it didn't do that on my site - with the TNG Option set to NOT use Default images, there was just an empty space - like this one for my Dad there is no bar and shadow showing up. This is in TNG without WordPress http://tngwp.lisaandroger.com/tng_13.0/connections.php?altprimarypersonID=&savedpersonID=I1&secondpersonID=&maxR=99&showTxt=true&showPic=true&sortpathsby=length&maxL=33&showGend=true&primarypersonID=I16&tree=Roger This is the same thing on WordPress http://tngwp.lisaandroger.com/genealogy/connections.php?altprimarypersonID=&savedpersonID=I1&secondpersonID=&maxR=99&showTxt=true&showPic=true&sortpathsby=length&maxL=33&showGend=true&primarypersonID=I16&tree=Roger again no bar and shadow in my Dad's box. Roger Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 Well now I am thoroughly confused. I will double check, but it happens on a clean (no other mods installed) TNG 13.0.3 sandbox. Got to be configuration differences somewhere. Edit:Update: Gosh, thought I had checked this on a clean site. No shadow and I am red faced on this. Got to be some other modification in my pre-production test site. Apologies for leading down wrong path. I guess when Fluffy82 said he has similar behavior...thought it confirmed it. Sorry:☹️ (couldn't find a red emoji). Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 51 minutes ago, mjaro said: Note: if TNG option <em>Admin:Media:Show Default Thumbs</em> is set to 'No', the thumbnail display option is <b>forced to false</b> independent of the value set here. Michal, I do not think that is correct. My TNG Setup > General Settings > Media - Use default thumbnails: option is set to No. I have installed your v4a on my production site and only the default thumbnails are suppressed if no default image is available. I think Ron is the only one trying to get Compact charts with no images. Sort of why I recommended the wording for the Edit Option be changed to Quote Choose whether to display a thumbnail preceding the name in boxes. If true = show standard, if false show compact charts The default is (true) Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 19 minutes ago, tngrlkrz said: Well now I am thoroughly confused. I will double check, but it happens on a clean (no other mods installed) TNG 13.0.3 sandbox. Got to be configuration differences somewhere. Ron, What options are you setting? When I change the Edit Option for Quote Choose whether to display a thumbnail preceding the name in boxes. The default is (true) to false, I still get the standard size charts and images So I am completely confused as well, since I also never saw a border when suppressing default image icons. Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 Ken is correct. There are two independent scenarios. TNG has option to suppress *only* generic thumbnails, whereas the Edit Option gives option to hide *all* thumbnails. Whether I am the only one, if I am outvoted and it complicates matters, take out the option and I can do myself a one line coding change. Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 8 minutes ago, Ken Roy said: to false, I still get the standard size charts and images Ken, I found I have to reload or clear cache, or perhaps start a new search. Hitting the menu tab 'refresh' isn't enough. You should be seeing this with the edit option 'false' for thumbs. Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 I cannot create the Compact view with no images as you show, What other changes did you you make? Quote Share this post Link to post Share on other sites
theKiwi 0 Report post Posted February 25 6 minutes ago, Ken Roy said: I cannot create the Compact view with no images as you show, What other changes did you you make? Ken - go to this page http://tngwp.lisaandroger.com/tng_13.0/connections.php?maxR=99&showPic=false&showTxt=true&sortpathsby=length&maxL=33&showGend=true&primarypersonID=I16&savedpersonID=I1&tree=Roger and toggle the thumb setting in the innermenu bar - I have the TNG option set to not show default images for this site currently. This is Michal's mod, with my colour changes applied, and the star instead of bullet - no other changes. Roger Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted February 25 11 minutes ago, Ken Roy said: I cannot create the Compact view with no images as you show, What other changes did you you make? Please set to No either Show thumbnails: in the Connections Form or Thumbs: (and then Refresh) in the Connections tab Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 So what purpose does the Edit Option perform if you have to make a choice in the Connections form? Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 22 minutes ago, Ken Roy said: I cannot create the Compact view with no images as you show, What other changes did you you make? This is with no changes, Ken. Admin:Media:Show Thumbnails: 'no' and Edit Options: Choose whether to display a thumbnail preceding the name in boxes set to 'true. As far as any further modification, I say just leave as is, all is OK, since the shadow issue is of my own doing, and all else works as expected. Sorry to have wasted people's time in this rabbit hole. Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 3 hours ago, Ken Roy said: So what purpose does the Edit Option perform if you have to make a choice in the Connections form? Ken, the menu option does the same as the Edit Option. Changing the Edit Option in Mod Mgr is not immediate on changing the default menu option, and it might not take effect until a cache or reload, in my experience. Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 Except that when I change the 2 options to false for Choose whether to display a textual path statement above the graphical presentation of each path. The default is (true) Choose whether to display a thumbnail preceding the name in boxes. The default is (true) neither appear to have any effect Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted February 25 4 minutes ago, Ken Roy said: Except that when I change the 2 options to false for Choose whether to display a textual path statement above the graphical presentation of each path. The default is (true) Choose whether to display a thumbnail preceding the name in boxes. The default is (true) neither appear to have any effect After you change the Edit Options, if you do NOT change form option as well it does not appear to work, Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 1 minute ago, Ken Roy said: neither appear to have any effect Those have always worked for me, but, I clean the slate by closing TNG down, clearing cache, and reloading. Heck, to be honest, because of some css issues I occasionally have, I actually batch uninstall all mods after making the edit option changes and reinstall. It's very quick. I know, I shouldn't have to do this, but it works. Quote Share this post Link to post Share on other sites
tngrlkrz 0 Report post Posted February 25 1 minute ago, Ken Roy said: if you do NOT change form option as well it does not appear to work, The menu defaults will change to the Edit Options, but only after doing a clean reload, as I noted, they don't seem to be immediate. Quote Share this post Link to post Share on other sites