* Override template for Family Facts on Tab Listings ignores {spouse}
Override template for Family Facts on Tab Listings ignores {spouse}
If I create an override template for an Individual Fact Type Facts tab Listing (via Fact Definition ... Advanced ...), any {individual} insertion code I put into the template is ignored on output. I can understand the reason for suppressing individual's name in default sentences for those listings, since space is at a premium, but not when the template for that specific purpose has been explicitly overridden.
Not a great problem because, after all, the individual concerned is apparent in the Caption on the Property Box.
BUT if I do the same for a Family Fact Type, then any insertion code for EITHER partner in the Family is similarly ignored - i.e. {individual} AND {spouse}. So if I just want to add {note} to the template, for example, I can only do so at the cost of losing clickable spouses' names on an Individual Property Box Facts tab. I note that the default templates for such facts do show the clickable spouses' names.
I would guess that this functionality is inherited from the Family Property Box behaviour where the identity of both partners is once again apparent in the Caption on the Property Box.
I have tried using an explicit Data Definition - {%CUR_PRIN2.NAME[1]%} - that is not ignored, but only gives me the first principal to the Fact not "the other principal", whichever principal I'm looking at. I've also tried %CUR~SPOU% , %CUR~SPOU>%, %CUR~FAMS%, and %CUR~FAMS>% - these all just get ignored (and are not documented as being supposed to work here anyway).
Is there any Data Definition that might do the job in this context?
Not a great problem because, after all, the individual concerned is apparent in the Caption on the Property Box.
BUT if I do the same for a Family Fact Type, then any insertion code for EITHER partner in the Family is similarly ignored - i.e. {individual} AND {spouse}. So if I just want to add {note} to the template, for example, I can only do so at the cost of losing clickable spouses' names on an Individual Property Box Facts tab. I note that the default templates for such facts do show the clickable spouses' names.
I would guess that this functionality is inherited from the Family Property Box behaviour where the identity of both partners is once again apparent in the Caption on the Property Box.
I have tried using an explicit Data Definition - {%CUR_PRIN2.NAME[1]%} - that is not ignored, but only gives me the first principal to the Fact not "the other principal", whichever principal I'm looking at. I've also tried %CUR~SPOU% , %CUR~SPOU>%, %CUR~FAMS%, and %CUR~FAMS>% - these all just get ignored (and are not documented as being supposed to work here anyway).
Is there any Data Definition that might do the job in this context?
Martin - after 30 years, discovered my wife's favourite grandparent was my second cousin twice removed - tricky stuff this family history lark ...
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Override template for Family Facts on Tab Listings ignores {spouse}
Some of the problems you describe are similar to what I found in Middle names (17999).
I had not spotted that {individual} and similar codes do not work for Individual facts.
I've reported the Family fact problems to Calico Pie but no fix has been promised.
I don't think it is the spouse name in Family facts that is clickable but just the fact itself toggles between spouses.
Anyway, as I discovered, the spouse name is unconditionally displayed whatever the Template.
Actually the {note} code work fine for me and substituted whatever was in the Family fact Note field.
I had not spotted that {individual} and similar codes do not work for Individual facts.
I've reported the Family fact problems to Calico Pie but no fix has been promised.
I don't think it is the spouse name in Family facts that is clickable but just the fact itself toggles between spouses.
Anyway, as I discovered, the spouse name is unconditionally displayed whatever the Template.
Actually the {note} code work fine for me and substituted whatever was in the Family fact Note field.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Override template for Family Facts on Tab Listings ignores {spouse}
Thanks, Mike,
Have I understood you correctly when you said that you've found that the spouse name is unconditionally displayed whatever the Template? What I've found is the following, using,

With an Override Template specified of {note}:

With an Override Template specified of {label}: {note}:

With an Override Template specified of {label} {individual} to {spouse/her/him}: {note}:

For me, any override seems to completely suppress the default, including the spouse's name.
Have I understood you correctly when you said that you've found that the spouse name is unconditionally displayed whatever the Template? What I've found is the following, using,
- Marriage - The Standard FH Fact, and
- Marr-??? - A custom Family Fact imported from TMG

With an Override Template specified of {note}:

With an Override Template specified of {label}: {note}:

With an Override Template specified of {label} {individual} to {spouse/her/him}: {note}:

For me, any override seems to completely suppress the default, including the spouse's name.
Martin - after 30 years, discovered my wife's favourite grandparent was my second cousin twice removed - tricky stuff this family history lark ...
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Override template for Family Facts on Tab Listings ignores {spouse}
The Frederick EVANS text is appended to the far right, but you have not shown that.
Either make the Property Box much wider, or make the Note much shorter, and it will be there.
I agree the personal codes such as {indiviudal} and {spouse/her/him} do not work.
Either make the Property Box much wider, or make the Note much shorter, and it will be there.
I agree the personal codes such as {indiviudal} and {spouse/her/him} do not work.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Override template for Family Facts on Tab Listings ignores {spouse}
Well, I didn't expect that. I was using a multi-line note for the test, so had given myself no chance of seeing the unconditional spousal entry at the end. Shortening the note did indeed bring it into view.
Offhand, I can't see how to compose a Marriage Fact Tab Listings template for note inclusion which could generally make coherent use of the spouse name in that position. It would be interesting to know if anyone else has constructed Fact Tab Listing Overrides for Marriage Facts.
Ideally, supporting {spouse/him/her} in lieu in that template would solve the problem ...
Offhand, I can't see how to compose a Marriage Fact Tab Listings template for note inclusion which could generally make coherent use of the spouse name in that position. It would be interesting to know if anyone else has constructed Fact Tab Listing Overrides for Marriage Facts.
Ideally, supporting {spouse/him/her} in lieu in that template would solve the problem ...
Martin - after 30 years, discovered my wife's favourite grandparent was my second cousin twice removed - tricky stuff this family history lark ...
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Override template for Family Facts on Tab Listings ignores {spouse}
In defence of FH, the Template Codes help page focusses on Sentence Templates and for many codes says they only apply to Witness or Principal sentences and don't mention the Override Templates.
The Fact Definition - Advanced Features Dialog help page simply refers to that Template Codes help page.
Maybe the Override Templates once worked better, but bugs have crept in over the years, or maybe they never worked well.
Few users customise those Override Templates so problems may not get noticed.
In your case, with long Note text, the righthand spouse name is rarely seen. Only the Facts tab display is affected on-screen and nowhere else, so you could simply ignore the 'problems'.
The Fact Definition - Advanced Features Dialog help page simply refers to that Template Codes help page.
Maybe the Override Templates once worked better, but bugs have crept in over the years, or maybe they never worked well.
Few users customise those Override Templates so problems may not get noticed.
In your case, with long Note text, the righthand spouse name is rarely seen. Only the Facts tab display is affected on-screen and nowhere else, so you could simply ignore the 'problems'.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Override template for Family Facts on Tab Listings ignores {spouse}
The Facts Tab listing is likely to be my first/main port of call for reviewing the information associated with an individual, being an at-a-glance chronological summary of most such information. I'm finding the ability to add {note} to most, if not all, facts on that listing very useful. If a significant/important note on a fact exists, I want it to hit me in the eye on the Facts Tab listing, rather than relying on me selecting each fact in turn to check IF such a note exists. In pursuit of the greater good, I accept I may have to ignore a few minor problems along the way.
Martin - after 30 years, discovered my wife's favourite grandparent was my second cousin twice removed - tricky stuff this family history lark ...
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Override template for Family Facts on Tab Listings ignores {spouse}
Let me explore the features associated with fact Notes.
In the Facts tab I presume you know that the yellow folder icon in the More column indicates the fact has a Note.
In the Notes tab there is an instant list of every Note field against its Fact description under Type.
They are in the order recorded in the GEDCOM which is usually the same as the Facts tab, with the exception that Family facts are listed at the bottom and Witness & Timeline facts are omitted.
If only a significant/important Note on a fact is what you want in the Facts tab then don't use {note} as that is unconditional.
Instead use an Override Template like {label} {place} {=GetLabelledText(%FACT.NOTE2%,"Key:")}
Then only Key: note text will hit you in the eye and irrelevant notes excluded.
In the Facts tab I presume you know that the yellow folder icon in the More column indicates the fact has a Note.
In the Notes tab there is an instant list of every Note field against its Fact description under Type.
They are in the order recorded in the GEDCOM which is usually the same as the Facts tab, with the exception that Family facts are listed at the bottom and Witness & Timeline facts are omitted.
If only a significant/important Note on a fact is what you want in the Facts tab then don't use {note} as that is unconditional.
Instead use an Override Template like {label} {place} {=GetLabelledText(%FACT.NOTE2%,"Key:")}
Then only Key: note text will hit you in the eye and irrelevant notes excluded.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Override template for Family Facts on Tab Listings ignores {spouse}
Sigh. There used to be a time when I could read a 400 page manual cover to cover, and tap into all the knowledge therein without further ado. Sadly, with age, comes not only experience, but also the need to read such manuals more than once before it all sinks in. I did read the FH Guide (V5) in its entirety before venturing forth, but the significance of the Notes tab had slipped my mind. There are definite possibilities there. Thanks for reminding me 
Martin - after 30 years, discovered my wife's favourite grandparent was my second cousin twice removed - tricky stuff this family history lark ...