i would like to restrein the accessibility to the event EVEN. i try to do it with the privacy setting but it dont work throuht the web interface.
does any have a clue ?
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The privacy for EVEN tags is a special case handled seperately. But you have to edit the privacy file by hand.
An EVEN tag has a TYPE tag. You use the value of the TYPE tag as the item to suppress in the privacy file.
So for example if you had a special "Degree" event. The gedcom record would look like this:
1 EVEN
2 TYPE Degree
2 DATE 10 Mar 1900
To hide this fact you would edit the gedcom privacy file in ./index/gedcom.ged_priv.php and add a line to the $global_facts or the $person_facts arrays. Adding to the $global_facts will hide the fact for all individuals. Adding it to the $person_facts will only hide it for a specific individual. There are examples in this file of how you add items to these arrays.
I'll give you an example of how you would hide the above "Degree" event in the $global_facts. You would edit the file and add the line:
$global_facts["Degree"]["show"] = $PRIV_USER;
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i would like to restrein the accessibility to the event EVEN. i try to do it with the privacy setting but it dont work throuht the web interface.
does any have a clue ?
thanks
The privacy for EVEN tags is a special case handled seperately. But you have to edit the privacy file by hand.
An EVEN tag has a TYPE tag. You use the value of the TYPE tag as the item to suppress in the privacy file.
So for example if you had a special "Degree" event. The gedcom record would look like this:
1 EVEN
2 TYPE Degree
2 DATE 10 Mar 1900
To hide this fact you would edit the gedcom privacy file in ./index/gedcom.ged_priv.php and add a line to the $global_facts or the $person_facts arrays. Adding to the $global_facts will hide the fact for all individuals. Adding it to the $person_facts will only hide it for a specific individual. There are examples in this file of how you add items to these arrays.
I'll give you an example of how you would hide the above "Degree" event in the $global_facts. You would edit the file and add the line:
$global_facts["Degree"]["show"] = $PRIV_USER;
--John