} -----Original Message-----
} 
} Thanks Ron, for your feedback.  Is there anyone else out 
} there who would like to have a way to distinguish the 
} author's direct lines on web pages in Pedigree View?
} 
} Gail
} 
} "Ron Ferguson" <[EMAIL PROTECTED]> wrote on 
} Wednesday, May 11, 2005 4:50 AM:
} 
} > I guess that your assumption is probably correct. I saw 
} your email the 
} > first time but did not have an answer then and other than 
} inserting a 
} > character into the code manually cannot think of any now. Sorry.
} >
} > Good luck
} > Ron Ferguson
 

Gail & Ron,

I think I have found a work-around to show direct lines on the family link
panel of pedigree web pages.

It does require Microsoft Access (Excel is also useful but not essential)
and a batch text replacement program such as the neat little BTRWizard which
is free from http://www.tildemh.com/sw/btrwiz/download.shtml
A shareware product called Erginsoft Replacer appears to do the same job.
http://www.erginsoft.com/?id=text_replacer

1. Backup your Legacy database or export everything to a new temporary file
to work on.

2. With yourself as the current selected name, tag all direct ancestors
(let's say tag 1).

3. Open the database .fdb file in Access and then open the table called
tblIR.

4. Sort the table by the tag 1 column to bring all the tag 1 individuals
together.

5. In the Title column add a symbol such as * or ~ (something that is not
used elsewhere in the database) for each tag 1 individual. This can be done
in a block by entering the symbol in an Excel cell and Control dragging down
to repeat the number of cells required before copying and pasting into the
Access Title column at the required position.

6. Close Access and reopen the database in Legacy. All direct line ancestors
now have a suffix of "*" or whatever symbol was used. Create the Pedigree
web pages with yourself as the starting person.

7. For all the individual pages (ie those whose file name is a number),
change the following text string
        *+</a></li>
To this:
        + <font color=red><b>Dir</b></font></a></li>

This gives a red "Dir" after each direct line child in the Family Links
panel. The exact text and/or colour is of course up to you. 
With BTRWizard this takes about 1 minute to change 1500 files.

8. Next, run BTRWizard again to change * to nothing. This gets rid of all
the other occurences of the symbol in page titles, notes etc.

Sounds a bit long winded but takes about 20 minutes to make the basic web
pages. The batch text replacement method can also be used to convert the
pages to external CSS for those who require it.


Regards,

Robert Silverwood  



Legacy User Group Etiquette guidelines can be found at:
http://www.LegacyFamilyTree.com/Etiquette.asp

To find past messages, please go to our searchable archives at:
http://www.mail-archive.com/legacyusergroup%40mail.millenniacorp.com/

To unsubscribe please visit:
http://www.legacyfamilytree.com/LegacyLists.asp

Reply via email to