* Asterisk with "has own or shared page" in Website Index

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.
Post Reply
avatar
Arthur45
Silver
Posts: 7
Joined: 25 Jan 2021 17:43
Family Historian: V7

Asterisk with "has own or shared page" in Website Index

Post by Arthur45 » 25 Jan 2021 18:06

Have just updated my Website based on my FH project, first time under V7. Each name in the Index has a small asterisk, leading to a note at the bottom " Has own or shared page". I would like to get rid of the asterisks and the note - is this possible? Since all the names in my Index have the asterisk, it adds nothing. Thanks.

User avatar
tatewise
Megastar
Posts: 27078
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Asterisk with "has own or shared page" in Website Index

Post by tatewise » 25 Jan 2021 18:39

Welcome to the FHUG Arthur.

There does not appear to be an option to control that in the Publish > Website wizard.

You could report the problem to Calico Pie via their http://www.calico-pie.com/osticket/open.php support service.

If you know your way around HTML you could edit the _nameindex.html and remove the asterisk components.

Eventually, if CP don't provide a solution, it could become a feature of my 'Improve Website or CD DVD HTML' plugin to remove them.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Arthur45
Silver
Posts: 7
Joined: 25 Jan 2021 17:43
Family Historian: V7

Re: Asterisk with "has own or shared page" in Website Index

Post by Arthur45 » 25 Jan 2021 20:09

Thanks - looks like it's related to the "Select or not" option in the list of records for preparing the website. The small print does explain that not selecting does not exclude a record, just means it doesn't have its own page. Looks like selecting generates the asterisk.

User avatar
tatewise
Megastar
Posts: 27078
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Asterisk with "has own or shared page" in Website Index

Post by tatewise » 25 Jan 2021 20:15

Yes, that is correct. Individuals selected will get their own web page and an asterisk.
Any references to other Individuals in those selected Individuals details will be listed without an asterisk.
But you have no control over excluding the asterisk when everyone is selected.

The only options are as I suggested earlier.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
redvanman
Diamond
Posts: 80
Joined: 10 Jun 2010 10:51
Family Historian: V7
Location: Dalbeattie, Kirkcudbrightshire

Re: Asterisk with "has own or shared page" in Website Index

Post by redvanman » 01 Feb 2021 11:23

Arthur,
There is another option here, but this solution comes with a number of caveats:
  • It uses Javascript to modify the output at the time it is displayed.
  • It is inextricably tied to the format that FH generates for the index page - for example, the asterisk is currently rendered in a <sup> tag. If that changes, the script will no longer work.
  • Javascript is not for everyone - who wants yet another language to help tweak FH output?
Far better would be if FH made this an option on the wizard.

Having said that, this is a fairly simple script, so you might wish to try it.
  • Copy the file that I have attached (adjust_index_page.js) into/Packages/your package name/data files/_custom (or wherever you put your custom files).
  • In step 8 of the wizard, click advanced and insert the following at the end of the body section:
    Untitled.jpg
    Untitled.jpg (47.09 KiB) Viewed 2518 times
  • Rebuild your site.
The asterisks on the index page, and the legend at the foot of the page should now be gone.

Hope this helps (and that it works for you as it does for me :lol: )

Alyn
Attachments
adjust_index_page.js
(773 Bytes) Downloaded 116 times

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: Asterisk with "has own or shared page" in Website Index

Post by dewilkinson » 01 Feb 2021 12:22

I updated my web site yesterday and these asterisks don't look good. I opened the index page in Notepad and replaced <sup>*</sup> with nothing, and removed the final line at the end. This took less than a minute to do. Pity you can't toggle it in the software.
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia

Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them

User avatar
tatewise
Megastar
Posts: 27078
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Asterisk with "has own or shared page" in Website Index

Post by tatewise » 01 Feb 2021 12:25

Has anyone reported the problem to CP?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: Asterisk with "has own or shared page" in Website Index

Post by dewilkinson » 01 Feb 2021 12:52

i have created a ticket with CP.
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia

Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them

avatar
Arthur45
Silver
Posts: 7
Joined: 25 Jan 2021 17:43
Family Historian: V7

Re: Asterisk with "has own or shared page" in Website Index

Post by Arthur45 » 02 Feb 2021 16:28

Thanks very much for the advice. I shall be trying to implement it. Arthur

Post Reply