* Difference between {note} and {inline-note}?

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
User avatar
AdrianBruce
Megastar
Posts: 1961
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Difference between {note} and {inline-note}?

Post by AdrianBruce » 11 Nov 2022 15:32

ColeValleyGirl wrote:
11 Nov 2022 10:34
... But it seems to be a magic disappearing topic!
Maybe the UG is now using the Facebook search engine!! ;) ;) ;)
Adrian

User avatar
phillip_leslie
Gold
Posts: 21
Joined: 30 Jun 2022 07:49
Family Historian: V7
Location: Huddersfield, West Yorkshire, UK

Re: Difference between {note} and {inline-note}?

Post by phillip_leslie » 11 Nov 2022 18:30

I have implemented {note} in most of my fact types (approx 60), and the witness roles as well, so I have to change over 150
sentences manually.

This new feature/bug introduced an issue for me in the following way, which I just noticed this afternoon:

{individual} was registered for birth {date} {place}; {%CUR_PRIN.NAME:FIRST%}'s {note}. <br>

Where it now adds a full-stop after the prin.name:first resulting in "John's. <and then the note>"

I accept that {inline-note} will resolve it.

Does any know an easy way of automatically replacing {note} with {inline-note} specifically for all Fact-Type sentence and role templates?

User avatar
Robert Jacobs
Famous
Posts: 111
Joined: 21 Mar 2015 18:03
Family Historian: V7
Location: Ellensburg, Washington, U.S.A.
Contact:

Re: Difference between {note} and {inline-note}?

Post by Robert Jacobs » 11 Nov 2022 20:34

If you are using FH7, the latest release, Find & replace will do them all in one fell swoop.

You can also change the template fact settings in the fhf files in C:\Program Data\Calico Pie\Family Historian\Fact Types. Use Notepad for the latter. There are two, perhaps three, fhf files which contain sentence templates.

For the existing sentences I did a find and replace, changing all instances of <. {note}> to <{note}>. I held my breath and did "replace all" rather than look at the 200 or 300 hundred individual instances. It all seems to have worked perfectly.

You can also, if you prefer, use find & replace to change all instance of {note} to {inline-note}

Backup everything first, just in case.

Post Reply