Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fan chart parents' Hebrew name not centered - 2.0.0 #1652

Closed
melizaa opened this issue Mar 17, 2018 · 10 comments
Closed

Fan chart parents' Hebrew name not centered - 2.0.0 #1652

melizaa opened this issue Mar 17, 2018 · 10 comments

Comments

@melizaa
Copy link
Contributor

melizaa commented Mar 17, 2018

The Hebrew names of the parents are not centered on ltr and on rtl pages.

See 2.0.0
latest_2018-03-17_22-21-32

See pre 2.0.0
old_2018-03-17_22-23-04

@magicsunday
Copy link
Contributor

magicsunday commented Mar 28, 2018

Hi, could you please try the following module as an replacement for the fan chart?
https://github.com/magicsunday/ancestral-fan-chart/tree/2.0

I would like to know if it could handle your hebrew names the way you need.

@magicsunday
Copy link
Contributor

Are you sure you closed the right issue? #1653 seems right.

@melizaa
Copy link
Contributor Author

melizaa commented Mar 29, 2018

Rico,

  1. Pre 2.0.0 - see my site - www.amitys.com/webtrees/module.php?ged=Gedcom.ged&mod=ancestral-fan-chart&rootid=I86&generations=4&fanDegree=180&fontScale=100&showColorGradients=0&showEmptySegments=1&showEmptySegments-GUI-ONLY=1
  • On the Latin LTR pages I see Latin LTR names in a very nice presentation. In the old fan chart I see also the person's Hebrew name.

  • On Hebrew RTL pages I see Hebrew names. The root person's name is printed correctly. The names of the other individuals should also print from the right. They print from the left to right. We see the root person's mother as הרו לטנזור. We should see her as ורה רוזנטל. Mouse over her name prints the name as expected.
    I think that we had similar problems originally also in the old chart and in other graphic pages.

  1. In my 2.0.0 test site https://www.amitys.com/future/ I get errors.

Fatal error: Uncaught ErrorException: /home/amitys/future.amitys.com/modules_v3/ancestral-fan-chart/src/Module.php:96 Use of undefined constant WT_STATIC_URL - assumed 'WT_STATIC_URL' in /home/amitys/future.amitys.com/includes/session.php:139 Stack trace: #0 /home/amitys/future.amitys.com/modules_v3/ancestral-fan-chart/src/Module.php(96): Fisharebest\Webtrees{closure}(8, 'Use of undefine...', '/home/amitys/fu...', 96, Array) #1 /home/amitys/future.amitys.com/modules_v3/ancestral-fan-chart/src/Module.php(190): RSO\WebtreesModule\AncestralFanChart\Module->getModuleUrlPath() #2 /home/amitys/future.amitys.com/module.php(25): RSO\WebtreesModule\AncestralFanChart\Module->modAction('') #3 {main} thrown in /home/amitys/future.amitys.com/includes/session.php on line 139

After I replace WT_STATIC_URL by WT_ROOT I get the following error.

Fatal error: Uncaught ErrorException: /home/amitys/future.amitys.com/modules_v3/ancestral-fan-chart/src/Module.php:196 Use of undefined constant WT_AUTOCOMPLETE_JS_URL - assumed 'WT_AUTOCOMPLETE_JS_URL' in /home/amitys/future.amitys.com/includes/session.php:139 Stack trace: #0 /home/amitys/future.amitys.com/modules_v3/ancestral-fan-chart/src/Module.php(196): Fisharebest\Webtrees{closure}(8, 'Use of undefine...', '/home/amitys/fu...', 196, Array) #1 /home/amitys/future.amitys.com/module.php(25): RSO\WebtreesModule\AncestralFanChart\Module->modAction('') #2 {main} thrown in /home/amitys/future.amitys.com/includes/session.php on line 139

I do not know what we should use instead of WT_AUTOCOMPLETE_JS_URL.

  1. In English, as far as I know, one should write 180 degrees, etc., not 180 degree

Meliza

@fisharebest
Copy link
Owner

After I replace WT_STATIC_URL by WT_ROOT I get the following error.

WT_STATIC_URL should be replaced with WT_BASE_URL.

@melizaa
Copy link
Contributor Author

melizaa commented Mar 29, 2018

Rick,

Another issue.

On the Hebrew page we see people with a birth and a death year 1821-1886. A birth only year prints as if it is a death date -1824 and a death only date as if it is a birth date 1831-

@melizaa
Copy link
Contributor Author

melizaa commented Mar 29, 2018

Greg,

With what should we replace WT_AUTOCOMPLETE_JS_URL?

@fisharebest
Copy link
Owner

Not a simple change.

We have replaced the old autocomplete (which returned an XREF) with a new "select" interface which selects individuals/families.etc.

@magicsunday
Copy link
Contributor

Hi, please use the code from the 2.0 branch (https://github.com/magicsunday/ancestral-fan-chart/tree/2.0) on your webtrees 2.0 installation. Direct download: https://github.com/magicsunday/ancestral-fan-chart/archive/2.0.zip

@melizaa
Copy link
Contributor Author

melizaa commented Mar 29, 2018

The branch 2.0 code has the same rtl issues as the pre 2.0 branch (names and dates).

Another issue is that it is too small. It prints under the form left side labels.

@melizaa
Copy link
Contributor Author

melizaa commented Apr 15, 2018

This issue was not solved. Please reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants