Donate Share December 2003: Project of the Month

PhpGedView

Tracker: Bug Reports

5 Ahnentafel numbering in not correct. - ID: 1459422
Last Update: Comment added ( canajun2eh )

The way the Ahnentafel report numbers the individuals
is not correct. It looks like the report is just
numbering people one-by-one instead of based on their
relationship to the root person. Males should always
have an even number, but if a wife's name is missing
in my ancestry, all individuals are shifted up one
place, making the males an odd number.

I've looked at the code and I know this will be a
difficult problem to solve. I'll be thiniing about
it and see if I can fix it myself.

Kevin Nowaczyk


Kevin Nowaczyk ( beakerboy ) - 2006-03-27 16:15

5

Closed

Fixed

Gerry Kroll

None

None

Public


Comments ( 3 )

Date: 2006-05-18 23:58
Sender: canajun2eh

Logged In: YES
user_id=1198414

Fixed in recent release of beta8


Date: 2006-04-13 17:07
Sender: canajun2eh

Logged In: YES
user_id=1198414

Thank you. Your attached files have been replaced with a
single ZIP file. It was necessary to change one of the
files; the changes from 4.0 beta7 had to be merged into the
file.

Fixed in Future branch CVS (4.0 beta8).

The attached ZIP file contains the changed files from Future
branch CVS.


Date: 2006-04-13 13:48
Sender: beakerboy

Logged In: YES
user_id=302560

In order to fix this I've had to modify three files.
functions.php:
I added a new function parameter called $show_empty. When
true, the function will fill in empty positons in the
ancestry.

reportpdf.php:
I enabled the PGVRRelativesSHandler to see the showempty
attribute from the XML report files.

I modified the PGVRRelativesEHandler to return all
individuals. This way the PGVRGetPersonName function can
return "Private" when the person is in the database, but
private. I did this by commenting out the 3 lines
marked //KN.

ahnentafel.xml
Thsi file passes a showempty="true" to
PGVRRelativesSHandler and combines and displays the empty
rows in a nice orderly way.


Attached File ( 1 )

Filename Description Download
fix_1459422.zip three files from Future Branch CVS (beta8) Download

Changes ( 11 )

Field Old Value Date By
close_date - 2006-05-18 23:58 canajun2eh
status_id Open 2006-05-18 23:58 canajun2eh
File Deleted 174461: 2006-04-13 17:07 canajun2eh
File Deleted 174456: 2006-04-13 17:07 canajun2eh
File Added 174478: fix_1459422.zip 2006-04-13 17:07 canajun2eh
File Deleted 174462: 2006-04-13 17:07 canajun2eh
assigned_to nobody 2006-04-13 17:07 canajun2eh
resolution_id None 2006-04-13 17:07 canajun2eh
File Added 174462: ahnentafel_new.xml 2006-04-13 13:56 beakerboy
File Added 174461: reportpdf.php 2006-04-13 13:54 beakerboy
File Added 174456: functions.php 2006-04-13 13:48 beakerboy